diff options
author | jlam <jlam@pkgsrc.org> | 2001-08-25 02:35:25 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-08-25 02:35:25 +0000 |
commit | d0c69a0d502d08258dd1c7f06d4946a1ca5b2130 (patch) | |
tree | 962b571a9e4e8a61812db4db9686e9165c7437b1 /devel/gettext-lib | |
parent | 943a6291b23be03d3119c905659ed5a2eb2a4348 (diff) | |
download | pkgsrc-d0c69a0d502d08258dd1c7f06d4946a1ca5b2130.tar.gz |
Pass the appropriate linker flags in LIBS along with -lintl to ensure that
-lintl is picked up by the linker.
Diffstat (limited to 'devel/gettext-lib')
-rw-r--r-- | devel/gettext-lib/buildlink.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/gettext-lib/buildlink.mk b/devel/gettext-lib/buildlink.mk index 9f05740200f..1e10529191d 100644 --- a/devel/gettext-lib/buildlink.mk +++ b/devel/gettext-lib/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.10 2001/07/27 13:33:23 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.11 2001/08/25 02:35:25 jlam Exp $ # # This Makefile fragment is included by packages that use gettext. # @@ -51,7 +51,11 @@ BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.gettext} # configure script fails to detect if libintl.a is the genuine GNU gettext # or not. # -LIBS+= -lintl +LIBS+= -L${BUILDLINK_DIR}/lib +.if ${_NEED_GNU_GETTEXT} == "YES" +LIBS+= -Wl,-R${BUILDLINK_PREFIX.gettext}/lib +.endif +LIBS+= -lintl .endif .endif |