diff options
author | emaste <emaste@FreeBSD.org> | 2016-03-15 19:26:32 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-03-15 19:26:32 +0000 |
commit | 354e38690890f748b60e89763c7b8c48182447b5 (patch) | |
tree | 1b7199c947f6144ec65d5144b75f7900cc3dd112 /lib/libc/db | |
parent | 0f68f72eaa236e19061b1cd06bdf4ca95cbd9346 (diff) | |
download | FreeBSD-src-354e38690890f748b60e89763c7b8c48182447b5.zip FreeBSD-src-354e38690890f748b60e89763c7b8c48182447b5.tar.gz |
libc: don't build compat functions if building WITHOUT_SYMVER
WITHOUT_SYMVER necessarily implies building a system without symver
backwards compatability.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib/libc/db')
-rw-r--r-- | lib/libc/db/mpool/Makefile.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/db/mpool/Makefile.inc b/lib/libc/db/mpool/Makefile.inc index bab7e6d..76ec0eb 100644 --- a/lib/libc/db/mpool/Makefile.inc +++ b/lib/libc/db/mpool/Makefile.inc @@ -3,4 +3,7 @@ .PATH: ${LIBC_SRCTOP}/db/mpool -SRCS+= mpool.c mpool-compat.c +SRCS+= mpool.c +.if ${MK_SYMVER} == yes +SRCS+= mpool-compat.c +.endif |