diff options
-rwxr-xr-x | mod_python/mod_python.build | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mod_python/mod_python.build b/mod_python/mod_python.build index cd23abf2..96e59672 100755 --- a/mod_python/mod_python.build +++ b/mod_python/mod_python.build @@ -21,7 +21,7 @@ fi PACKAGE="mod_python" VERSION=${VERSION:=2.7.11} ARCH="${ARCH:=x86_64}" -BUILD=${BUILD:=2rha} +BUILD=${BUILD:=3rha} SRC_DIR=${SRC:=$CWD} TMP=${TMP:=/tmp} @@ -83,7 +83,10 @@ fi # coxa, favor corrigir! if [ "$ARCH" == "x86_64" ]; then - sed -e 's/^OPT=$/OPT=-fPIC/' src/Makefile > src/Makefile.new + sed -e 's/^OPT=$/OPT="-fPIC -DEAPI"/' src/Makefile > src/Makefile.new + mv src/Makefile.new src/Makefile +else + sed -e 's/^OPT=$/OPT=-DEAPI/' src/Makefile > src/Makefile.new mv src/Makefile.new src/Makefile fi |