add a lang subdir, port lua to buildroot-ng
[openwrt/svn-archive/archive.git] / lang / lua / patches / lua-5.0.2-config.patch
1 diff -ruN lua-5.0.2-orig/config lua-5.0.2-1/config
2 --- lua-5.0.2-orig/config 2003-04-11 16:00:41.000000000 +0200
3 +++ lua-5.0.2-1/config 2005-05-25 11:23:35.000000000 +0200
4 @@ -25,15 +25,15 @@
5 # interface (e.g., Linux, Solaris, IRIX, BSD, AIX, HPUX, and probably others),
6 # uncomment the next two lines.
7 #
8 -#LOADLIB= -DUSE_DLOPEN=1
9 -#DLLIB= -ldl
10 +LOADLIB= -DUSE_DLOPEN=1
11 +DLLIB= -ldl
12 #
13 # In Linux with gcc, you should also uncomment the next definition for
14 # MYLDFLAGS, which passes -E (= -export-dynamic) to the linker. This option
15 # allows dynamic libraries to link back to the `lua' program, so that they do
16 # not need the Lua libraries. (Other systems may have an equivalent facility.)
17 #
18 -#MYLDFLAGS= -Wl,-E
19 +MYLDFLAGS= -Wl,-E
20 #
21 # On Windows systems. support for dynamic loading is enabled by default.
22 # To disable this support, uncomment the next line.
23 @@ -142,7 +142,7 @@
24
25 # This should work in all Unix systems, but you may want to add options.
26 #
27 -STRIP= strip
28 +STRIP= /bin/true
29
30 # ------------------------------------------------------------------ install
31