aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.openssl.mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-12-11 01:51:48 +0800
committerbapt <bapt@FreeBSD.org>2012-12-11 01:51:48 +0800
commitc6a41436447848c226655a9d640978dca75d93be (patch)
treeb25d238c2021351b8680b198217a18009fb661ad /Mk/bsd.openssl.mk
parent409a1aa2f82156c1a161b43aad2dc4bc07d0d8ca (diff)
downloadfreebsd-ports-gnome-c6a41436447848c226655a9d640978dca75d93be.tar.gz
freebsd-ports-gnome-c6a41436447848c226655a9d640978dca75d93be.tar.zst
freebsd-ports-gnome-c6a41436447848c226655a9d640978dca75d93be.zip
Adjust the LDFLAGS from USE_NCURSES and USE_OPENSSL to fix build with clang:
This should fix most of the "error: argument unused during compilation: '-rpath=/usr/lib:/usr/local/lib'"
Diffstat (limited to 'Mk/bsd.openssl.mk')
-rw-r--r--Mk/bsd.openssl.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.openssl.mk b/Mk/bsd.openssl.mk
index 4282c6342fbf..605826b768dd 100644
--- a/Mk/bsd.openssl.mk
+++ b/Mk/bsd.openssl.mk
@@ -153,7 +153,7 @@ OPENSSLINC= ${OPENSSLBASE}/include
.if defined(USE_OPENSSL_RPATH)
CFLAGS+= -Wl,-rpath,${OPENSSLRPATH}
.endif
-OPENSSL_LDFLAGS+= -rpath=${OPENSSLRPATH}
+OPENSSL_LDFLAGS+= -Wl,-rpath=${OPENSSLRPATH}
LDFLAGS+=${OPENSSL_LDFLAGS}