19f74c09b1
libdl is a filter on libc, and pretty lightweight. Add it to the 'clibs' package with libc, effectively tying them together in a pkgbase world. Reviewed by: gjb MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D13997
17 lines
278 B
Makefile
17 lines
278 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE=clibs
|
|
LIB=dl
|
|
SHLIB_MAJOR=1
|
|
|
|
.PATH: ${SRCTOP}/lib/libc/gen
|
|
CFLAGS+=-I${SRCTOP}/lib/libc/include
|
|
CFLAGS+=-DIN_LIBDL
|
|
LDFLAGS+=-Wl,-F,libc.so.7
|
|
VERSION_DEF=${SRCTOP}/lib/libc/Versions.def
|
|
SYMBOL_MAPS=${.CURDIR}/Symbol.map
|
|
|
|
SRCS = dlfcn.c
|
|
|
|
.include <bsd.lib.mk>
|