Files
macports-ports/python/py-lxml/files/patch-setupinfo-remove-xcrun-call.diff
Ken Cunningham eaf647f18e py-lxml: patch out -isysroot addition
1. calls xcrun, which is 10.8+ only
2. we want to pass in -isysroot if needed

closes: https://trac.macports.org/ticket/56666
2018-06-18 12:15:52 -07:00

12 lines
444 B
Diff

--- setupinfo.py.orig 2018-06-14 13:42:56.000000000 -0700
+++ setupinfo.py 2018-06-14 13:45:12.000000000 -0700
@@ -124,7 +124,7 @@
])
_library_dirs = _prefer_reldirs(base_dir, library_dirs(static_library_dirs))
_cflags = cflags(static_cflags)
- _ldflags = ['-isysroot', get_xcode_isysroot()] if sys.platform == 'darwin' else None
+ _ldflags = None
_define_macros = define_macros()
_libraries = libraries()