From: Eneas U de Queiroz Date: Wed, 3 Apr 2019 20:58:56 +0000 (-0300) Subject: luasec: cleanup Makefile X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=aa2f0987d6a1a08c8a8e34c7f4eb075c2a027b06;p=openwrt-packages.git 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 --- diff --git a/lang/luasec/Makefile b/lang/luasec/Makefile index 79120bbc4..621cb7af6 100644 --- a/lang/luasec/Makefile +++ b/lang/luasec/Makefile @@ -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"