Commit 9deac1623c462f25bbdc482981fced8b1c30d3a7

Authored by Perry Werneck
1 parent 2d72a009
Exists in master

Corrigindo dependencias de empacotamento, criando script para gerar automaticame…

…nte os pacotes com trace.
Showing 2 changed files with 32 additions and 1 deletions   Show diff stats
configure.ac
... ... @@ -58,7 +58,8 @@ case "$host" in
58 58 DLLEXT=".dll"
59 59  
60 60 CFLAGS="$CFLAGS -Wall -Werror -D_WIN32_WINNT=0x0600"
61   - LDSTATIC="-static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic"
  61 + LDFLAGS="-static-libgcc -static-libstdc++ $LDFLAGS"
  62 + LDSTATIC="-Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic"
62 63 LIBS="$LIBS -lws2_32 -lntdll -lwtsapi32"
63 64  
64 65 LOGDIR=.
... ...
win/pack-with-trace.sh 0 → 100755
... ... @@ -0,0 +1,30 @@
  1 +#!/bin/bash
  2 +
  3 +myDIR=$(dirname $(dirname $(readlink -f $0)))
  4 +
  5 +cd $myDIR
  6 +
  7 +rm -f *.zip
  8 +
  9 +win32-configure --enable-trace && make clean && make zip
  10 +if [ "$?" != "0" ]; then
  11 + exit -1
  12 +fi
  13 +
  14 +win64-configure --enable-trace && make clean && make zip
  15 +if [ "$?" != "0" ]; then
  16 + exit -1
  17 +fi
  18 +
  19 +if [ -d ~/public_html/win/pw3270/x86_32 ]; then
  20 + cp *i686*.zip ~/public_html/win/pw3270/x86_32
  21 +elif [ -d ~/public_html/win/x86_32 ]; then
  22 + cp *i686*.zip ~/public_html/win/x86_32
  23 +fi
  24 +
  25 +if [ -d ~/public_html/win/pw3270/x86_64 ]; then
  26 + cp *x86_64*.zip ~/public_html/win/pw3270/x86_64
  27 +elif [ -d ~/public_html/win/x86_32 ]; then
  28 + cp *x86_64*.zip ~/public_html/win/x86_64
  29 +fi
  30 +
... ...