1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

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
This commit is contained in:
nico
2008-11-11 02:48:31 +00:00
parent 3ced72e9c7
commit 6a74025efd
2 changed files with 6 additions and 10 deletions

View File

@@ -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)