summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEneas U de Queiroz <cote2004-github@yahoo.com>2018-12-21 14:29:05 -0200
committerEneas U de Queiroz <cote2004-github@yahoo.com>2018-12-21 15:55:38 -0200
commit2977cbba22ddccd6b07a3f94fd74db33b4066e29 (patch)
treee1a4e90a6692f3f87eda936cecc15c7db9119e78
parent1da02dfe8cec21a3cf51d0d56bd6c50c8476e10f (diff)
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>
-rw-r--r--net/softethervpn/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/softethervpn/Makefile b/net/softethervpn/Makefile
index 1d7bcd4e7..4a480d497 100644
--- a/net/softethervpn/Makefile
+++ b/net/softethervpn/Makefile
@@ -39,6 +39,7 @@ HOST_MAKE_FLAGS += -C $(HOST_BUILD_DIR)
# 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_LDFLAGS += -Wl,-rpath="$(STAGING_DIR_HOSTPKG)/lib"
# Prevent calling upstream configure
define Host/Configure
endef