aboutsummaryrefslogtreecommitdiff
path: root/kerberos5/lib
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-08-06 22:17:26 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-08-06 22:17:26 +0000
commitd029c3aa2563f896e990ea62d168f4f33afcbc01 (patch)
tree55e479f80b3d04d5fd6accb8908787cccd17d895 /kerberos5/lib
parent2ac725a4ec9fb21d4e208d428a7e8893a8c84a15 (diff)
downloadsrc-d029c3aa2563f896e990ea62d168f4f33afcbc01.tar.gz
src-d029c3aa2563f896e990ea62d168f4f33afcbc01.zip
Rework privatelib/internallib
Make sure everything linking to a privatelib and/or an internallib does it directly from the OBJDIR rather than DESTDIR. Add src.libnames.mk so bsd.libnames.mk is not polluted by libraries not existsing in final installation Introduce the LD* variable which is what ld(1) is expecting (via LDADD) to link to internal/privatelib Directly link to the .so in case of private library to avoid having to complexify LDFLAGS. Phabric: https://phabric.freebsd.org/D553 Reviewed by: imp, emaste
Notes
Notes: svn path=/head/; revision=269648
Diffstat (limited to 'kerberos5/lib')
-rw-r--r--kerberos5/lib/libkrb5/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerberos5/lib/libkrb5/Makefile b/kerberos5/lib/libkrb5/Makefile
index b30ec755d4b7..4128762967a5 100644
--- a/kerberos5/lib/libkrb5/Makefile
+++ b/kerberos5/lib/libkrb5/Makefile
@@ -3,7 +3,7 @@
LIB= krb5
LDFLAGS= -Wl,--no-undefined
VERSION_MAP= ${KRB5DIR}/lib/krb5/version-script.map
-LDADD= -lasn1 -lcom_err -lcrypt -lcrypto -lhx509 -lroken -lwind -lheimbase -lheimipcc
+LDADD= -lasn1 -lcom_err -lcrypt -lcrypto -lhx509 -lroken -lwind -lheimbase ${LDHEIMIPCC}
DPADD= ${LIBASN1} ${LIBCOM_ERR} ${LIBCRYPT} ${LIBCRYPTO} ${LIBHX509} ${LIBROKEN} ${LIBWIND} ${LIBHEIMBASE} ${LIBHEIMIPCC}
USEPRIVATELIB= heimipcc