From aa2f0987d6a1a08c8a8e34c7f4eb075c2a027b06 Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Wed, 3 Apr 2019 17:58:56 -0300 Subject: [PATCH] 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 --- lang/luasec/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/luasec/Makefile b/lang/luasec/Makefile index 79120bbc42..621cb7af69 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"