summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/perl/miniperl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/miniperl/Makefile b/gnu/usr.bin/perl/miniperl/Makefile
index 293f1a4..e8c6214 100644
--- a/gnu/usr.bin/perl/miniperl/Makefile
+++ b/gnu/usr.bin/perl/miniperl/Makefile
@@ -9,7 +9,7 @@ SRCS= miniperlmain.c config.h
# Miniperl _must_ be static!!
NOSHARED= yes
DPADD= ${LIBPERL} ${LIBM} ${LIBCRYPT}
-LDADD= -lperl -lm -lcrypt
+LDADD= -L${.OBJDIR}/../libperl -lperl -lm -lcrypt
# Trick the bootstrap tools into thinking that miniperl is perl.
# This gets overwritten.
OpenPOWER on IntegriCloud