vcpkg/ports/luajit/003-do-not-set-macosx-deployment-target.patch
JonLiu1993 2c7862c4aa
[luajit] update to the latest commit (#25856)
* update version

* update version

* [luajit] update to latest commit

* update version

* add patch

* update version
2022-08-11 18:17:20 -07:00

15 lines
556 B
Diff

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