diff options
author | Michael Lutz <michi@icosahedron.de> | 2020-04-10 14:13:23 +0200 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2020-04-12 18:44:43 +0200 |
commit | e90d065f11c22f17744e08877bc6b47dc81a5f90 (patch) | |
tree | cf73dcdf7e652f4077795d129b40d347acd8a637 | |
parent | 9339e4dcad8aa74ff1b2723ea63a2e31c23f5d44 (diff) | |
download | openttd-e90d065f11c22f17744e08877bc6b47dc81a5f90.tar.xz |
Fix: [OSX] Prepend OSX SDK path to the framework search path if building with a custom SDK sysroot.
-rw-r--r-- | config.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib index 6738561e2..45c0d7f81 100644 --- a/config.lib +++ b/config.lib @@ -1657,7 +1657,7 @@ make_cflags_and_ldflags() { if [ "$with_cocoa" != "0" ]; then CFLAGS="$CFLAGS -DWITH_COCOA" - LIBS="$LIBS -F/System/Library/Frameworks -framework Cocoa -framework Carbon -framework AudioUnit -framework AudioToolbox" + LIBS="$LIBS -F$osx_sdk_path/System/Library/Frameworks -framework Cocoa -framework Carbon -framework AudioUnit -framework AudioToolbox" if [ "$enable_cocoa_quartz" != "0" ]; then CFLAGS="$CFLAGS -DENABLE_COCOA_QUARTZ" |