From: Eneas U de Queiroz Date: Wed, 3 Apr 2019 20:58:56 +0000 (-0300) Subject: luasec: cleanup Makefile X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F8776%2Fhead;p=feed%2Fpackages.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 026a99d424..2465b1fa4b 100644 --- a/lang/luasec/Makefile +++ b/lang/luasec/Makefile @@ -45,8 +45,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"