From: Francois Perrad Date: Sat, 1 Mar 2014 17:23:03 +0000 (+0100) Subject: luajit: refactor without shared-lib.patch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=87c28ee58af8f3fdabeda8ad3b71056104442d5d;p=buildroot.git luajit: refactor without shared-lib.patch the variable BUILDMODE does the job Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- diff --git a/package/luajit/luajit-02-shared-lib.patch b/package/luajit/luajit-02-shared-lib.patch deleted file mode 100644 index 361e5c2721..0000000000 --- a/package/luajit/luajit-02-shared-lib.patch +++ /dev/null @@ -1,17 +0,0 @@ -Compile the luajit binary dynamically against the luajit library - -Signed-off-by: Thomas Petazzoni - -Index: b/src/Makefile -=================================================================== ---- a/src/Makefile -+++ b/src/Makefile -@@ -669,7 +669,7 @@ - - $(LUAJIT_T): $(TARGET_O) $(LUAJIT_O) $(TARGET_DEP) - $(E) "LINK $@" -- $(Q)$(TARGET_LD) $(TARGET_ALDFLAGS) -o $@ $(LUAJIT_O) $(TARGET_O) $(TARGET_ALIBS) -+ $(Q)$(TARGET_LD) $(TARGET_ALDFLAGS) -o $@ $(LUAJIT_O) -lluajit -L. $(TARGET_ALIBS) - $(Q)$(TARGET_STRIP) $@ - $(E) "OK Successfully built LuaJIT" - diff --git a/package/luajit/luajit.mk b/package/luajit/luajit.mk index 72720d89ca..32596a1e2c 100644 --- a/package/luajit/luajit.mk +++ b/package/luajit/luajit.mk @@ -44,6 +44,7 @@ define LUAJIT_BUILD_CMDS HOST_CFLAGS="$(HOST_CFLAGS)" \ HOST_LDFLAGS="$(HOST_LDFLAGS)" \ $(LUAJIT_NO_LARGEFILE) \ + BUILDMODE=dynamic \ -C $(@D) amalg endef