diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-26 21:28:31 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-26 21:28:31 +0000 |
commit | efa2af5aa6205e82aa87118b164ec4306c01e108 (patch) | |
tree | f731281f8fb8f1071242fbf68df119400f9fa066 /openwrt/package/lua/patches/lua-5.0.2-soname.patch | |
parent | 649dbaf7d266d7a2e1012b67f3889cb7bdbed396 (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-soname.patch')
-rw-r--r-- | openwrt/package/lua/patches/lua-5.0.2-soname.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/package/lua/patches/lua-5.0.2-soname.patch b/openwrt/package/lua/patches/lua-5.0.2-soname.patch new file mode 100644 index 000000000..3364ff6ad --- /dev/null +++ b/openwrt/package/lua/patches/lua-5.0.2-soname.patch @@ -0,0 +1,14 @@ +diff -ruN lua-5.0.2-orig/Makefile lua-5.0.2-1/Makefile +--- lua-5.0.2-orig/Makefile 2004-03-12 02:50:55.000000000 +0100 ++++ lua-5.0.2-1/Makefile 2005-05-25 11:41:44.000000000 +0200 +@@ -38,8 +38,8 @@ + + # shared libraries (for Linux) + so: +- ld -o lib/liblua.so.$V -shared src/*.o +- ld -o lib/liblualib.so.$V -shared src/lib/*.o ++ $(LD) -o lib/liblua.so.$V -shared -soname="liblua.so.$V" src/*.o ++ $(LD) -o lib/liblualib.so.$V -shared -soname="liblualib.so.$V" src/lib/*.o + cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so + + # binaries using shared libraries |