diff options
author | Nicolas Thill <nico@openwrt.org> | 2008-11-11 02:48:31 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2008-11-11 02:48:31 +0000 |
commit | aa9e205c8e75ac6bef677cf8d751b8490a918f9c (patch) | |
tree | b3d5ad4ec6f33162cdf00cad5727e9d1283c525c /package/lua/patches/020-shared_liblua.patch | |
parent | ccadbe138533589dc8bc4abbe5147ff3a33e3bb8 (diff) | |
download | upstream-aa9e205c8e75ac6bef677cf8d751b8490a918f9c.tar.gz upstream-aa9e205c8e75ac6bef677cf8d751b8490a918f9c.tar.bz2 upstream-aa9e205c8e75ac6bef677cf8d751b8490a918f9c.zip |
lua changes:
- fix shared lib generation
- don't ship liblua.so dev lib in liblua package
- remove unsupported 'all' make target during build
- misc cleanup
- bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13179 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/lua/patches/020-shared_liblua.patch')
-rw-r--r-- | package/lua/patches/020-shared_liblua.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/lua/patches/020-shared_liblua.patch b/package/lua/patches/020-shared_liblua.patch index d948841b8a..cb7940f7ee 100644 --- a/package/lua/patches/020-shared_liblua.patch +++ b/package/lua/patches/020-shared_liblua.patch @@ -129,7 +129,7 @@ Index: lua-5.1.4/src/Makefile -$(LUA_T): $(LUA_O) $(LUA_A) - $(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS) +$(LUA_SO): $(CORE_O) $(LIB_O) -+ $(CC) -o $@.$(PKG_VERSION) -shared -soname="$@.$(PKG_VERSION)" $? -nostdlib -lgcc ++ $(CC) -o $@.$(PKG_VERSION) -shared -Wl,-soname="$@.$(PKG_VERSION)" $? + ln -fs $@.$(PKG_VERSION) $@ + +$(LUA_T): $(LUA_O) $(LUA_SO) |