-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[luajit] Install .pc file for windows (#26971)
Fix installed .pc file on osx Close #23178
- Loading branch information
1 parent
d752204
commit 8ffbeac
Showing
6 changed files
with
57 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
diff --git a/etc/luajit.pc b/etc/luajit.pc | ||
index 39e1e57..3837d3b 100644 | ||
--- a/etc/luajit.pc | ||
+++ b/etc/luajit.pc | ||
@@ -21,5 +21,5 @@ URL: https://luajit.org | ||
Version: ${version} | ||
Requires: | ||
Libs: -L${libdir} -l${libname} | ||
-Libs.private: -Wl,-E -lm -ldl | ||
+Libs.private: -lm -ldl | ||
Cflags: -I${includedir} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Package information for LuaJIT to be used by pkg-config. | ||
majver=2 | ||
minver=1 | ||
relver=0 | ||
version=${majver}.${minver}.${relver}-beta3 | ||
abiver=51 | ||
|
||
prefix=@PREFIX@ | ||
multilib=@LJIT_LIBDIR@ | ||
exec_prefix=${prefix} | ||
libdir=${exec_prefix}/${multilib} | ||
libname=lua${abiver} | ||
includedir=${prefix}/include/luajit | ||
|
||
INSTALL_LMOD=${prefix}/share/lua/${abiver} | ||
INSTALL_CMOD=${prefix}/${multilib}/lua/${abiver} | ||
|
||
Name: LuaJIT | ||
Description: Just-in-time compiler for Lua | ||
URL: https://luajit.org | ||
Version: ${version} | ||
Requires: | ||
Libs: -L${libdir} -l${libname} | ||
Cflags: -I${includedir} @LJIT_MSVC_PC_CFLAGS@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters