mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Tweak the lua patch to use PIC when building the shared library
This commit is contained in:
@@ -45,7 +45,7 @@ diff -up lua-5.1.4/src/Makefile.orig lua-5.1.4/src/Makefile
|
||||
$(CC) -o $@ $(MYLDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
|
||||
|
||||
+$(LUA_SO): $(CORE_O) $(LIB_O)
|
||||
+ $(CC) -o $@ -shared $(MYLDFLAGS) $? $(LIBS)
|
||||
+ $(CC) -o $@ -shared -fPIC $(MYLDFLAGS) $? $(LIBS)
|
||||
+
|
||||
clean:
|
||||
$(RM) $(ALL_T) $(ALL_O)
|
||||
|
||||
Reference in New Issue
Block a user