Browse Source

softethervpn: add -Wl,-rpath to HOST_LDFLAGS

Avoids failures related to the absence of a matching libreadline.so in
the host system.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
lilik-openwrt-22.03
Eneas U de Queiroz 6 years ago
parent
commit
2977cbba22
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      net/softethervpn/Makefile

+ 1
- 0
net/softethervpn/Makefile View File

@ -39,6 +39,7 @@ HOST_MAKE_FLAGS += -C $(HOST_BUILD_DIR)
# Select 32 or 64 bit Makefile for host build depending on host architecture # Select 32 or 64 bit Makefile for host build depending on host architecture
HOST_MAKE_FLAGS += -f src/makefiles/linux_$(if $(shell uname -m | grep 64),64,32)bit.mak HOST_MAKE_FLAGS += -f src/makefiles/linux_$(if $(shell uname -m | grep 64),64,32)bit.mak
HOST_LDFLAGS += -Wl,-rpath="$(STAGING_DIR_HOSTPKG)/lib"
# Prevent calling upstream configure # Prevent calling upstream configure
define Host/Configure define Host/Configure
endef endef


Loading…
Cancel
Save