mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 17:09:02 +00:00
Resolve architecture incompatibilities with Zenmap on OS X. Fixes #161
This commit is contained in:
@@ -33,7 +33,7 @@ BASE=dist/$APP_NAME.app/Contents
|
||||
SCRIPT_DIR=`dirname "$0"`
|
||||
|
||||
CC=${CC:-gcc}
|
||||
CFLAGS=${CFLAGS:--Wall}
|
||||
CFLAGS=${CFLAGS:--Wall -arch i386}
|
||||
|
||||
echo "Running $0."
|
||||
|
||||
@@ -41,7 +41,7 @@ echo "Removing old build."
|
||||
rm -rf build dist
|
||||
|
||||
echo "Compiling using py2app."
|
||||
$PYTHON setup.py py2app --no-strip
|
||||
$PYTHON setup.py py2app --arch=i386 --no-strip
|
||||
|
||||
# Delete a library that causes compatibility problems with OS X 10.9.
|
||||
# http://seclists.org/nmap-dev/2013/q4/85
|
||||
|
||||
Reference in New Issue
Block a user