summaryrefslogtreecommitdiff
path: root/editors/emacs22/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs22/Makefile.common')
-rw-r--r--editors/emacs22/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/emacs22/Makefile.common b/editors/emacs22/Makefile.common
index bccfd2d0cbc..8ea28a8dcba 100644
--- a/editors/emacs22/Makefile.common
+++ b/editors/emacs22/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2013/10/27 20:47:53 joerg Exp $
+# $NetBSD: Makefile.common,v 1.6 2014/12/03 13:58:57 joerg Exp $
#
# used by editors/emacs22/Makefile
# used by editors/emacs22-nox11/Makefile
@@ -72,6 +72,7 @@ CONFIGURE_ENV+= CPP=${CPP:Q}
# NetBSD with native Clang doesn't provide libgcc, everything is in libc.
pre-configure: fake-libgcc
+LDFLAGS+= -L${PREFIX}/lib
fake-libgcc:
${AR} q ${BUILDLINK_DIR}/lib/libgcc.a
.endif