Commit a550d906d4cd20af20714c47b5a9efd3146dd87b

Authored by Perry Werneck
1 parent 144f52e5

Adjusments in the windows package creation.

Showing 3 changed files with 10 additions and 6 deletions   Show diff stats
README.md
... ... @@ -39,7 +39,7 @@ Cross-compiling on SuSE Linux (Native or WSL) - The easier way!
39 39 2. Run the build script
40 40  
41 41 * get it from https://github.com/PerryWerneck/pw3270/blob/master/win/pack.sh
42   - * Run it!
  42 + * Run the build script: ./pack.sh --pre-reqs
43 43  
44 44  
45 45  
... ...
win/pack.sh
... ... @@ -118,11 +118,11 @@ configure()
118 118 echo -e "\e]2;Installing pre-reqs\a"
119 119 echo "Installing pre-reqs"
120 120  
121   - for PKG in $(cat ${WORKDIR}/sources/pre-reqs | sort --unique)
122   - do
123   - echo "${PKG}..."
124   - sudo zypper --non-interactive --quiet in "${PKG}"
125   - done
  121 + cat ${WORKDIR}/sources/pre-reqs \
  122 + | grep -v 3270 \
  123 + | sort --unique \
  124 + | xargs sudo zypper --non-interactive --quiet in
  125 +
126 126 fi
127 127  
128 128 echo -e "\e]2;Creating configuration\a"
... ...
win/pw3270.nsi.in
... ... @@ -233,6 +233,10 @@ SubSection "@PRODUCT_NAME@" SecMain
233 233 file "/oname=$INSTDIR\sdk\lib\libipc3270.dll.a" "libipc3270.dll.a"
234 234 file "/oname=$INSTDIR\sdk\lib\libipc3270.static.a" "libipc3270.static.a"
235 235  
  236 + file "/oname=$INSTDIR\sdk\def\libhllapi.def" "@PRODUCT_NAME@\def\libhllapi.def"
  237 + file "/oname=$INSTDIR\sdk\lib\libhllapi.lib" "libhllapi.lib"
  238 + file "/oname=$INSTDIR\sdk\lib\libhllapi.dll.a" "libhllapi.dll.a"
  239 +
236 240 SectionEnd
237 241 !endif
238 242  
... ...