summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2022-02-03 14:14:39 +1100
committerMatthew Waters <matthew@centricular.com>2022-02-03 14:16:24 +1100
commitc32041bf6c60f3c9db5801f3edf65600fae23ffb (patch)
tree1cd5e4bcd83199006c2f040a6e8e956cf41fdb73
parent25fc33a017fa71eb4bc344916dcb81db28e8081e (diff)
libxml2: disable python usage on macos1.18.6
Matches the configuration on every other platform. Avoids libxml2/autotools from using the python framework within XCode itself which now has a helpful error. libtool: link: clang -Wl,-undefined -Wl,dynamic_lookup -o .libs/libxml2mod.so -bundle .libs/libxml.o .libs/libxml2-py.o .libs/types.o ../.libs/libxml2.dylib -L/Library/Frameworks/GStreamer.framework/Versions/1.0/lib -lpthread /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libz.dylib -liconv -lm -L/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -lpython2.7 -ldl -framework CoreFoundation -arch x86_64 -m64 -mmacosx-version-min=10.11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -g -O2 -Wl,-headerpad_max_install_names -arch x86_64 -m64 -Wl,-arch -Wl,x86_64 -mmacosx-version-min=10.11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -framework CoreFoundation ld: cannot link directly with dylib/framework, your binary is not an allowed client of /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.tbd for architecture x86_64 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/795>
-rw-r--r--recipes/libxml2.recipe2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/libxml2.recipe b/recipes/libxml2.recipe
index 628f154f..5bfa46f6 100644
--- a/recipes/libxml2.recipe
+++ b/recipes/libxml2.recipe
@@ -32,3 +32,5 @@ class Recipe(recipe.Recipe):
self.configure_options = '--with-python=no'
elif self.config.target_platform == Platform.LINUX:
self.configure_options = '--with-python=no'
+ elif self.config.target_platform == Platform.DARWIN:
+ self.configure_options = '--with-python=no'