X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=lang%2Fluaexpat%2FMakefile;h=ded0229b9776d1be7d66ccac883a38067cc5415a;hb=427c345573316030d5ea801405213e42c89f634d;hp=b8066e554c634c7d9132b3a8bcf95b47a30559c8;hpb=0f2b2263c3884fc5b32ae9dad0ec82e551369469;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/lang/luaexpat/Makefile b/lang/luaexpat/Makefile index b8066e554c..ded0229b97 100644 --- a/lang/luaexpat/Makefile +++ b/lang/luaexpat/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luaexpat PKG_VERSION:=1.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://luaforge.net/frs/download.php/2469 @@ -40,8 +40,8 @@ define Build/Compile LUA_INC="$(STAGING_DIR)/usr/include/" \ LUA_LIBDIR="$(STAGING_DIR)/usr/lib/" \ COMPAT_DIR="$(PKG_BUILD_DIR)/compat-5.1r5" \ - LIB_OPTION="-shared -L$(STAGING_DIR)/usr/lib/" \ - CC="$(TARGET_CC) $(TARGET_CFLAGS)" \ + LIB_OPTION="-shared $(TARGET_LDFLAGS)" \ + CC="$(TARGET_CC) $(TARGET_CFLAGS) $(FPIC) -std=c99" \ LD="$(TARGET_CROSS)ld -shared" endef