mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 19:54:50 +00:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user