diff --git a/secure/usr.bin/openssl/Makefile b/secure/usr.bin/openssl/Makefile index 6f47de548751..11d4e1fdc709 100644 --- a/secure/usr.bin/openssl/Makefile +++ b/secure/usr.bin/openssl/Makefile @@ -4,7 +4,7 @@ PROG= openssl MAINTAINER= kris -LDADD= -lssl -lcrypto +LDADD= -L/usr/lib -lssl -lcrypto NOMAN= noman OPENSSL_SRC= ${.CURDIR}/../../../crypto/openssl/apps @@ -17,7 +17,7 @@ LOCALBASE?= /usr/local CFLAGS+= -DNO_RSA -DNO_SSL2 .else CFLAGS+= -DRSAref -LDADD+= -lRSAglue ${LOCALBASE}/lib/librsaref.a +LDADD+= -L${LOCALBASE}/lib -lRSAglue -lrsaref .endif SRCS= apps.c asn1pars.c ca.c ciphers.c crl.c crl2p7.c dgst.c dh.c \