mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
Ports: Fix detection for -ldl
This commit is contained in:
parent
adaf2b347c
commit
6a825510a0
6 changed files with 6 additions and 70 deletions
|
@ -22,7 +22,7 @@ diff -Naur lua-5.3.5/src/Makefile lua-5.3.5.serenity/src/Makefile
|
|||
|
||||
LUA_A= liblua.a
|
||||
CORE_O= lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \
|
||||
@@ -124,6 +124,14 @@
|
||||
@@ -124,6 +124,15 @@
|
||||
solaris:
|
||||
$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN -D_REENTRANT" SYSLIBS="-ldl"
|
||||
|
||||
|
@ -32,7 +32,8 @@ diff -Naur lua-5.3.5/src/Makefile lua-5.3.5.serenity/src/Makefile
|
|||
+ CC="i686-pc-serenity-gcc -std=gnu99" \
|
||||
+ AR="i686-pc-serenity-ar rcu" \
|
||||
+ RANLIB="i686-pc-serenity-ranlib" \
|
||||
+ SYSCFLAGS="-DLUA_USE_DLOPEN"
|
||||
+ SYSCFLAGS="-DLUA_USE_DLOPEN" \
|
||||
+ SYSLIBS="-ldl"
|
||||
+
|
||||
# list targets that do not create files (but not all makes understand .PHONY)
|
||||
.PHONY: all $(PLATS) default o a clean depend echo none
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue