luaexpat: fix LDFLAGS 1178/head
authorAlexander Ryzhov <github@ryzhov-al.ru>
Thu, 23 Apr 2015 11:02:58 +0000 (11:02 +0000)
committerAlexander Ryzhov <github@ryzhov-al.ru>
Thu, 23 Apr 2015 11:02:58 +0000 (11:02 +0000)
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
lang/luaexpat/Makefile

index 6b73254d6dfc0aaca0217016d10fdd8fc921e684..3c2f23180b12e868d7c305e80afc2b9572d3d66e 100644 (file)
@@ -41,7 +41,7 @@ define Build/Compile
        LUA_INC="-I$(STAGING_DIR)/usr/include/" \
        LUA_LIBDIR="$(STAGING_DIR)/usr/lib/" \
        COMPAT_DIR="$(PKG_BUILD_DIR)/compat-5.1r5" \
-       LIB_OPTION="-shared $(TARGET_LDFLAGS)" \
+       LDFLAGS="-shared $(TARGET_LDFLAGS)" \
        CC="$(TARGET_CC) $(TARGET_CFLAGS) $(FPIC) -std=c99" \
        LD="$(TARGET_CROSS)ld -shared" 
 endef