luasec: cleanup Makefile
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Wed, 3 Apr 2019 20:58:56 +0000 (17:58 -0300)
committerRosen Penev <rosenp@gmail.com>
Wed, 24 Apr 2019 18:13:48 +0000 (11:13 -0700)
The LIBDIR and INCDIR assignments are duplicate of the original
Makefile, changing LIB_PATH and INC_PATH to LDFLAGS and CPPFLAGS.

Setting LIB_PATH and INC_PATH to empty strings will do the same
without duplicating the flags.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
lang/luasec/Makefile

index 026a99d424b07708fa5bcd31bfeadb04ff735a15..2465b1fa4b73ec77e0df9c4873765d0832f68aef 100644 (file)
@@ -45,8 +45,8 @@ TARGET_LDFLAGS += $(FPIC)
 
 MAKE_FLAGS += \
        LD="$(TARGET_CC)" \
-       INCDIR="$(TARGET_CPPFLAGS) -I." \
-       LIBDIR="$(TARGET_LDFLAGS) -L./luasocket" \
+       INC_PATH="" \
+       LIB_PATH="" \
        LUACPATH="$(PKG_INSTALL_DIR)/usr/lib/lua" \
        LUAPATH="$(PKG_INSTALL_DIR)/usr/lib/lua"