summaryrefslogtreecommitdiffstats
path: root/openwrt/package/lua/patches/lua-5.0.2-config.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-26 21:28:31 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-26 21:28:31 +0000
commitefa2af5aa6205e82aa87118b164ec4306c01e108 (patch)
treef731281f8fb8f1071242fbf68df119400f9fa066 /openwrt/package/lua/patches/lua-5.0.2-config.patch
parent649dbaf7d266d7a2e1012b67f3889cb7bdbed396 (diff)
Add lua package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1066 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/lua/patches/lua-5.0.2-config.patch')
-rw-r--r--openwrt/package/lua/patches/lua-5.0.2-config.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/openwrt/package/lua/patches/lua-5.0.2-config.patch b/openwrt/package/lua/patches/lua-5.0.2-config.patch
new file mode 100644
index 000000000..fa5b0e765
--- /dev/null
+++ b/openwrt/package/lua/patches/lua-5.0.2-config.patch
@@ -0,0 +1,31 @@
+diff -ruN lua-5.0.2-orig/config lua-5.0.2-1/config
+--- lua-5.0.2-orig/config 2003-04-11 16:00:41.000000000 +0200
++++ lua-5.0.2-1/config 2005-05-25 11:23:35.000000000 +0200
+@@ -25,15 +25,15 @@
+ # interface (e.g., Linux, Solaris, IRIX, BSD, AIX, HPUX, and probably others),
+ # uncomment the next two lines.
+ #
+-#LOADLIB= -DUSE_DLOPEN=1
+-#DLLIB= -ldl
++LOADLIB= -DUSE_DLOPEN=1
++DLLIB= -ldl
+ #
+ # In Linux with gcc, you should also uncomment the next definition for
+ # MYLDFLAGS, which passes -E (= -export-dynamic) to the linker. This option
+ # allows dynamic libraries to link back to the `lua' program, so that they do
+ # not need the Lua libraries. (Other systems may have an equivalent facility.)
+ #
+-#MYLDFLAGS= -Wl,-E
++MYLDFLAGS= -Wl,-E
+ #
+ # On Windows systems. support for dynamic loading is enabled by default.
+ # To disable this support, uncomment the next line.
+@@ -142,7 +142,7 @@
+
+ # This should work in all Unix systems, but you may want to add options.
+ #
+-STRIP= strip
++STRIP= /bin/true
+
+ # ------------------------------------------------------------------ install
+