Skip to content

Commit 37e458b

Browse files
add upstream patch that sets dylib extension also for iOS shared build
the patch was adjusted to apply on 2.1.0-beta3
1 parent d8570b6 commit 37e458b

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

recipes/luajit/all/conandata.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ patches:
1515
patch_description: "Fix POSIX install with missing or incompatible ldconfig"
1616
patch_source: "https://github.com/LuaJIT/LuaJIT/commit/18c9cf7d3788a8f7408df45df92fc4ae3bcc0d80"
1717
patch_type: "bugfix"
18+
- patch_file: "patches/2.1.0-beta3-ios-dylib-extension.diff"
19+
patch_description: "Use dylib extension for iOS installs"
20+
patch_source: "https://github.com/LuaJIT/LuaJIT/commit/b1179ea5f708c62aacc60235d28230112f419a69"
21+
patch_type: "bugfix"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/Makefile b/Makefile
2+
index d789e9f374..c41b3345dd 100644
3+
--- a/Makefile
4+
+++ b/Makefile
5+
@@ -97,7 +97,7 @@ else
6+
endif
7+
TARGET_SYS?= $(HOST_SYS)
8+
9+
-ifeq (Darwin,$(TARGET_SYS))
10+
+ifneq (,$(filter $(TARGET_SYS),Darwin iOS))
11+
INSTALL_SONAME= $(INSTALL_DYLIBNAME)
12+
INSTALL_SOSHORT1= $(INSTALL_DYLIBSHORT1)
13+
INSTALL_SOSHORT2= $(INSTALL_DYLIBSHORT2)

0 commit comments

Comments
 (0)