Commit 9949ab95b65fa7a16413643f9b24f07893b3a233
1 parent
d7aa3093
Exists in
master
and in
5 other branches
Fixing customization on windows package.
Showing
1 changed file
with
12 additions
and
1 deletions
Show diff stats
win/pack.sh
| ... | ... | @@ -5,7 +5,7 @@ LIBRARY_NAME="lib3270" |
| 5 | 5 | CORE_LIBRARIES="lib3270 libv3270" |
| 6 | 6 | PACKAGE_PLUGINS="ipc" |
| 7 | 7 | PACKAGE_LANGUAGE_BINDINGS="hllapi mono" |
| 8 | -TARGET_ARCHS="x86_64" | |
| 8 | +TARGET_ARCHS="x86_64 x86_32" | |
| 9 | 9 | GIT_URL="https://github.com/PerryWerneck" |
| 10 | 10 | |
| 11 | 11 | PROJECTDIR=$(dirname $(dirname $(readlink -f ${0}))) |
| ... | ... | @@ -248,6 +248,17 @@ buildApplication() |
| 248 | 248 | |
| 249 | 249 | cd ${WORKDIR}/sources/${1} |
| 250 | 250 | |
| 251 | + for NSI in $(find ./win -name '*.nsi.in') | |
| 252 | + do | |
| 253 | + SRCNAME="${PROJECTDIR}/win/$(basename ${NSI})" | |
| 254 | + if [ -e "${SRCNAME}" ]; then | |
| 255 | + cp "${SRCNAME}" "${NSI}" | |
| 256 | + if [ "$?" != "0" ]; then | |
| 257 | + failed "Can't copy ${SRCNAME}" | |
| 258 | + fi | |
| 259 | + fi | |
| 260 | + done | |
| 261 | + | |
| 251 | 262 | if [ -x ${PROJECTDIR}/win/configure.${1} ]; then |
| 252 | 263 | |
| 253 | 264 | HOST="${host}" \ | ... | ... |