summaryrefslogtreecommitdiff
path: root/editors/emacs22
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-12-03 13:58:57 +0000
committerjoerg <joerg@pkgsrc.org>2014-12-03 13:58:57 +0000
commit0987accdeaea41557d81a821b75b7a77290b91b6 (patch)
tree998db3b0056820daecf6304122f6fa72ff875b3f /editors/emacs22
parentee790a985c86937840cbd1c58baf81ebcd8004ce (diff)
downloadpkgsrc-0987accdeaea41557d81a821b75b7a77290b91b6.tar.gz
Make sure the fake libgcc is actually picked up when using cwrappers.
Diffstat (limited to 'editors/emacs22')
-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