Casper work's only as shared library - disable building static ones.
Reviewed by: bdrewery@ Differential Revision: https://reviews.freebsd.org/D12917
This commit is contained in:
parent
7aa472731e
commit
95844abe53
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325398
@ -38,6 +38,19 @@
|
||||
# xargs -n1 | sort | uniq -d;
|
||||
# done
|
||||
|
||||
# 20171104: Casper can work only as shared library
|
||||
OLD_FILES+=usr/lib/libcasper.a
|
||||
OLD_FILES+=usr/lib/libcasper_p.a
|
||||
OLD_FILES+=usr/lib/libcap_dns.a
|
||||
OLD_FILES+=usr/lib/libcap_dns_p.a
|
||||
OLD_FILES+=usr/lib/libcap_grp.a
|
||||
OLD_FILES+=usr/lib/libcap_grp_p.a
|
||||
OLD_FILES+=usr/lib/libcap_pwd.a
|
||||
OLD_FILES+=usr/lib/libcap_pwd_p.a
|
||||
OLD_FILES+=usr/lib/libcap_random.a
|
||||
OLD_FILES+=usr/lib/libcap_random_p.a
|
||||
OLD_FILES+=usr/lib/libcap_sysctl.a
|
||||
OLD_FILES+=usr/lib/libcap_sysctl_p.a
|
||||
# 20171031: Removal of obsolete man files
|
||||
OLD_FILES+=usr/share/man/man7/adding_user.7.gz
|
||||
# 20171031: Disconnected libpathconv tests
|
||||
|
@ -8,7 +8,7 @@ SHLIB_MAJOR= 0
|
||||
SHLIBDIR?= /lib
|
||||
|
||||
.if ${MK_CASPER} != "no"
|
||||
LIB= casper
|
||||
SHLIB= casper
|
||||
|
||||
SRCS= libcasper.c
|
||||
SRCS+= libcasper_impl.c
|
||||
|
@ -10,7 +10,7 @@ SHLIB_MAJOR= 0
|
||||
INCSDIR?= ${INCLUDEDIR}/casper
|
||||
|
||||
.if ${MK_CASPER} != "no"
|
||||
LIB= cap_dns
|
||||
SHLIB= cap_dns
|
||||
|
||||
SRCS= cap_dns.c
|
||||
.endif
|
||||
|
@ -10,7 +10,7 @@ SHLIB_MAJOR= 0
|
||||
INCSDIR?= ${INCLUDEDIR}/casper
|
||||
|
||||
.if ${MK_CASPER} != "no"
|
||||
LIB= cap_grp
|
||||
SHLIB= cap_grp
|
||||
|
||||
SRCS= cap_grp.c
|
||||
.endif
|
||||
|
@ -10,7 +10,7 @@ SHLIB_MAJOR= 0
|
||||
INCSDIR?= ${INCLUDEDIR}/casper
|
||||
|
||||
.if ${MK_CASPER} != "no"
|
||||
LIB= cap_pwd
|
||||
SHLIB= cap_pwd
|
||||
|
||||
SRCS= cap_pwd.c
|
||||
.endif
|
||||
|
@ -9,7 +9,7 @@ SHLIBDIR?= /lib/casper
|
||||
INCSDIR?= ${INCLUDEDIR}/casper
|
||||
|
||||
.if ${MK_CASPER} != "no"
|
||||
LIB= cap_random
|
||||
SHLIB= cap_random
|
||||
|
||||
SRCS= cap_random.c
|
||||
.endif
|
||||
|
@ -10,7 +10,7 @@ SHLIB_MAJOR= 0
|
||||
INCSDIR?= ${INCLUDEDIR}/casper
|
||||
|
||||
.if ${MK_CASPER} != "no"
|
||||
LIB= cap_sysctl
|
||||
SHLIB= cap_sysctl
|
||||
|
||||
SRCS= cap_sysctl.c
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user