Browse Source

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>
lilik-openwrt-22.03
Eneas U de Queiroz 6 years ago
parent
commit
aa2f0987d6
No known key found for this signature in database GPG Key ID: 1EB043ABD7ACF202
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lang/luasec/Makefile

+ 2
- 2
lang/luasec/Makefile View File

@ -46,8 +46,8 @@ TARGET_LDFLAGS += $(FPIC)
MAKE_FLAGS += \ MAKE_FLAGS += \
LD="$(TARGET_CC)" \ LD="$(TARGET_CC)" \
INCDIR="$(TARGET_CPPFLAGS) -I." \
LIBDIR="$(TARGET_LDFLAGS) -L./luasocket" \
INC_PATH="" \
LIB_PATH="" \
LUACPATH="$(PKG_INSTALL_DIR)/usr/lib/lua" \ LUACPATH="$(PKG_INSTALL_DIR)/usr/lib/lua" \
LUAPATH="$(PKG_INSTALL_DIR)/usr/lib/lua" LUAPATH="$(PKG_INSTALL_DIR)/usr/lib/lua"


Loading…
Cancel
Save