summaryrefslogtreecommitdiff
path: root/editors/emacs23
diff options
context:
space:
mode:
authorjoerg <joerg>2014-12-03 13:58:57 +0000
committerjoerg <joerg>2014-12-03 13:58:57 +0000
commitf972d4117f63a3ea3078405e6390bcd3920ef4df (patch)
tree998db3b0056820daecf6304122f6fa72ff875b3f /editors/emacs23
parentf60ceab4d2bd39912d9640d9334660893ca44ecf (diff)
downloadpkgsrc-f972d4117f63a3ea3078405e6390bcd3920ef4df.tar.gz
Make sure the fake libgcc is actually picked up when using cwrappers.
Diffstat (limited to 'editors/emacs23')
-rw-r--r--editors/emacs23/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/emacs23/Makefile.common b/editors/emacs23/Makefile.common
index f915d09dc2b..349787bc182 100644
--- a/editors/emacs23/Makefile.common
+++ b/editors/emacs23/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2013/11/04 11:09:40 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.5 2014/12/03 13:58:57 joerg Exp $
#
# used by editors/emacs23/Makefile
# used by editors/emacs23-nox11/Makefile
@@ -69,6 +69,7 @@ INSTALL_UNSTRIPPED= yes
# 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