mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
Add symbols found in the port but not in base. This requires replacing
a shared libkrb5profile.so with libkrb5profile.a (with -fPIC so it can
be used by shared libraries). We do this by making libkrb5profile
INTERNALLIB.
Base currently has libkrb5profile in a shared library. The patch moves
those functions to the various "consumer" libraries as the port does.
Symbols that should be in the other libraries are in libkrb5profile.so.
This is causing some ports issues.
PR: 291695
Reported by: michaelo, markj, Chris Inacio <[email protected]>
Tested by: michaelo
Fixes: ae07a5805b
Reviewed by: michaelo (previous version)
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D54323
30 lines
517 B
Makefile
30 lines
517 B
Makefile
#
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
#
|
|
# Copyright (c) 2025 FreeBSD Foundation
|
|
#
|
|
# This sofware was developed by Cy Schubert <[email protected]>
|
|
# under sponsorship from the FreeBSD Foundation.
|
|
#
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
LIB= kprop_util
|
|
INTERNALLIB=
|
|
LDFLAGS=-Wl,--no-undefined
|
|
INCS=
|
|
|
|
SRCS= kprop_util.c
|
|
|
|
CFLAGS+=-I${KRB5_DIR}/lib/krad \
|
|
-I${KRB5_DIR}/include \
|
|
-I${KRB5_SRCTOP}/include \
|
|
-I${KRB5_OBJTOP}/util/profile \
|
|
-I${.OBJDIR}
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.PATH: ${KRB5_DIR}/kprop
|