diff options
Diffstat (limited to 'vcpkg/ports/luajit/003-do-not-set-macosx-deployment-target.patch')
| -rw-r--r-- | vcpkg/ports/luajit/003-do-not-set-macosx-deployment-target.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/luajit/003-do-not-set-macosx-deployment-target.patch b/vcpkg/ports/luajit/003-do-not-set-macosx-deployment-target.patch new file mode 100644 index 0000000..4f9f632 --- /dev/null +++ b/vcpkg/ports/luajit/003-do-not-set-macosx-deployment-target.patch @@ -0,0 +1,14 @@ +diff --git a/src/Makefile b/src/Makefile
+index 30d64be..b753ea1 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -316,9 +316,6 @@ ifeq (,$(shell $(TARGET_CC) -o /dev/null -c -x c /dev/null -fno-stack-protector
+ TARGET_XCFLAGS+= -fno-stack-protector
+ endif
+ ifeq (Darwin,$(TARGET_SYS))
+- ifeq (,$(MACOSX_DEPLOYMENT_TARGET))
+- $(error missing: export MACOSX_DEPLOYMENT_TARGET=XX.YY)
+- endif
+ TARGET_STRIP+= -x
+ TARGET_XCFLAGS+= -DLUAJIT_UNWIND_EXTERNAL
+ TARGET_XSHLDFLAGS= -dynamiclib -single_module -undefined dynamic_lookup -fPIC
|