diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-11-11 02:48:31 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-11-11 02:48:31 +0000 |
commit | 6a74025efdb7e8522390a7fe053f79200f384a85 (patch) | |
tree | b3d5ad4ec6f33162cdf00cad5727e9d1283c525c /package/lua/patches | |
parent | 3ced72e9c7df57380c48ddeb4b422757b1c21491 (diff) |
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')
-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 d948841b8..cb7940f7e 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) |