summaryrefslogtreecommitdiff
path: root/ios/iconfigure-osminver.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ios/iconfigure-osminver.patch')
-rw-r--r--ios/iconfigure-osminver.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/ios/iconfigure-osminver.patch b/ios/iconfigure-osminver.patch
new file mode 100644
index 00000000..2ef0076d
--- /dev/null
+++ b/ios/iconfigure-osminver.patch
@@ -0,0 +1,18 @@
1diff --git a/iconfigure b/iconfigure
2index 734bb47..e31c6cf 100755
3--- a/iconfigure
4+++ b/iconfigure
5@@ -93,10 +93,10 @@ export CXX=$(xcrun --sdk $SDK --find g++)
6 export LD=$(xcrun --sdk $SDK --find ld)
7
8 # Flags
9-export CFLAGS="$CFLAGS -arch $ARCH -isysroot $SDKROOT -I$PREFIX/include -miphoneos-version-min=$SDKVERSION"
10-export CPPFLAGS="$CPPFLAGS -arch $ARCH -isysroot $SDKROOT -I$PREFIX/include -miphoneos-version-min=$SDKVERSION"
11+export CFLAGS="$CFLAGS -arch $ARCH -isysroot $SDKROOT -I$PREFIX/include -miphoneos-version-min=$OSMINVER"
12+export CPPFLAGS="$CPPFLAGS -arch $ARCH -isysroot $SDKROOT -I$PREFIX/include -miphoneos-version-min=$OSMINVER"
13 export CXXFLAGS="$CXXFLAGS -arch $ARCH -isysroot $SDKROOT -I$PREFIX/include"
14-export LDFLAGS="$LDFLAGS -arch $ARCH -isysroot $SDKROOT -L$PREFIX/lib"
15+export LDFLAGS="$LDFLAGS -arch $ARCH -isysroot $SDKROOT -L$PREFIX/lib -miphoneos-version-min=$OSMINVER"
16 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH":"$SDKROOT/usr/lib/pkgconfig":"$PREFIX/lib/pkgconfig"
17
18 # Remove script parameters