summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-07-27 13:50:43 +0000
committerjperkin <jperkin@pkgsrc.org>2012-07-27 13:50:43 +0000
commit577680db246941fad350303dab69004704014b51 (patch)
treeb683cd0bf8e9016114b327fdfdb7df459b0fbf22 /pkgtools/pkg_install
parenta33e8bd5e846db7b51d5e1b3cb53a92d93813a68 (diff)
downloadpkgsrc-577680db246941fad350303dab69004704014b51.tar.gz
Pull in the correct libraries when enabling SSL support in libfetch.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/options.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgtools/pkg_install/options.mk b/pkgtools/pkg_install/options.mk
index 29272e1226b..e268f2c1fed 100644
--- a/pkgtools/pkg_install/options.mk
+++ b/pkgtools/pkg_install/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2012/07/27 13:20:26 jperkin Exp $
+# $NetBSD: options.mk,v 1.4 2012/07/27 13:50:43 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libfetch
PKG_SUPPORTED_OPTIONS= inet6 openssl
@@ -20,6 +20,7 @@ MAKE_ENV+= FETCH_WITH_INET6=no
.if !empty(PKG_OPTIONS:Mopenssl)
MAKE_ENV+= FETCH_WITH_OPENSSL=yes
+LDFLAGS+= -lssl -lcrypto
.include "../../security/openssl/buildlink3.mk"
.else