luasec: cleanup Makefile

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>
This commit is contained in:
Eneas U de Queiroz 2019-04-03 17:58:56 -03:00
parent e3f1532297
commit aa2f0987d6
No known key found for this signature in database
GPG Key ID: 1EB043ABD7ACF202
1 changed files with 2 additions and 2 deletions

View 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"