mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Remove libxml2.2.dylib from the OS X application bundle.
This file is automatically copied into the bundle by py2app. It is already present as a system library on OS X 10.6 and later. Shipping our own caused a compatibility problem on OS X 10.9: Could not import the zenmapGUI.App module: 'dlopen(/Applications/Zenmap.app/Contents/Resources/lib/python2.6/lib-dynload/glib/_glib.so, 2): Symbol not found: _xmlBufContent\n Referenced from: /usr/lib/libxslt.1.dylib\n Expected in: /Applications/Zenmap.app/Contents/Frameworks/libxml2.2.dylib\n in /usr/lib/libxslt.1.dylib'. http://seclists.org/nmap-dev/2013/q4/85
This commit is contained in:
@@ -43,6 +43,10 @@ rm -rf build dist
|
||||
echo "Compiling using py2app."
|
||||
$PYTHON setup.py py2app --no-strip
|
||||
|
||||
# Delete a library that causes compatibility problems with OS X 10.9.
|
||||
# http://seclists.org/nmap-dev/2013/q4/85
|
||||
rm -f $BASE/Frameworks/libxml2.2.dylib
|
||||
|
||||
mkdir -p $BASE/Resources/etc
|
||||
mkdir -p $BASE/Resources/lib
|
||||
|
||||
|
||||
Reference in New Issue
Block a user