pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/platform Add a global BUILDLINK_TRANSFORM to remove...
details: https://anonhg.NetBSD.org/pkgsrc/rev/edaa03618a4e
branches: trunk
changeset: 603959:edaa03618a4e
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Fri May 18 14:15:17 2012 +0000
description:
Add a global BUILDLINK_TRANSFORM to remove -ldl. This library is an empty
static library for compatibility reasons. If a libtool library is linking
against -ldl, libtool only builds it statically because there is no
libdl.so. This prevented, at least, the build of devel/gobject-introspection.
Add it globally because there is no reason anyone would want to link against
libdl on MirBSD.
diffstat:
mk/platform/MirBSD.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 7d84e3a5739f -r edaa03618a4e mk/platform/MirBSD.mk
--- a/mk/platform/MirBSD.mk Fri May 18 11:12:55 2012 +0000
+++ b/mk/platform/MirBSD.mk Fri May 18 14:15:17 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MirBSD.mk,v 1.5 2012/03/19 12:34:18 joerg Exp $
+# $NetBSD: MirBSD.mk,v 1.6 2012/05/18 14:15:17 bsiegert Exp $
#
# Variable definitions for the MirOS BSD operating system.
@@ -41,6 +41,8 @@
_PATCH_BACKUP_ARG?= -V simple -z # switch to patch(1) for backup suffix
_USE_RPATH= yes # add rpath to LDFLAGS
+BUILDLINK_TRANSFORM+= rm:-ldl # libdl.a is an empty static library
+
# flags passed to the linker to extract all symbols from static archives.
# this is GNU ld.
_OPSYS_WHOLE_ARCHIVE_FLAG= -Wl,--whole-archive
Home |
Main Index |
Thread Index |
Old Index