Browse Source

Merge pull request #8581 from cotequeiroz/luasec_linker

luasec: use gcc to link instead of ld
lilik-openwrt-22.03
Rosen Penev 6 years ago
committed by GitHub
parent
commit
5c539c7950
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      lang/luasec/Makefile

+ 4
- 3
lang/luasec/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luasec PKG_NAME:=luasec
PKG_VERSION:=0.7 PKG_VERSION:=0.7
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/brunoos/luasec/tar.gz/luasec-$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/brunoos/luasec/tar.gz/luasec-$(PKG_VERSION)?
@ -45,8 +45,9 @@ TARGET_CFLAGS += $(FPIC)
TARGET_LDFLAGS += $(FPIC) TARGET_LDFLAGS += $(FPIC)
MAKE_FLAGS += \ MAKE_FLAGS += \
INCDIR="$(TARGET_CPPFLAGS) -I." \
LIBDIR="$(TARGET_LDFLAGS) -L./luasocket" \
LD="$(TARGET_CC)" \
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