luasec: cleanup Makefile 8581/head
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Wed, 3 Apr 2019 20:58:56 +0000 (17:58 -0300)
committerEneas U de Queiroz <cote2004-github@yahoo.com>
Wed, 3 Apr 2019 21:00:23 +0000 (18:00 -0300)
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 79120bbc42f9e7da61f7ee37aa27e1a3d785e20d..621cb7af69a3684e56cf4ef600f12ea141ef9e98 100644 (file)
@@ -46,8 +46,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"