From 957781bce73dec430cfe80d6e7ba48eb91361805 Mon Sep 17 00:00:00 2001 From: delphij Date: Fri, 14 May 2010 20:40:37 +0000 Subject: - Add versioned symbols to liblzma - Use default SHLIB_MAJOR. Approved by: mm X-MFC with: lzma library MFC --- lib/liblzma/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib/liblzma/Makefile') diff --git a/lib/liblzma/Makefile b/lib/liblzma/Makefile index b68244f..f84ac93 100644 --- a/lib/liblzma/Makefile +++ b/lib/liblzma/Makefile @@ -1,7 +1,6 @@ # $FreeBSD$ -LIB= lzma -SHLIB_MAJOR= 0 +LIB= lzma LZMADIR= ${.CURDIR}/../../contrib/xz/src/liblzma .PATH: ${LZMADIR}/../common @@ -122,6 +121,7 @@ SRCS+= simple_coder.c \ WARNS?= 3 CFLAGS+= -DHAVE_CONFIG_H \ + -DTUKLIB_SYMBOL_PREFIX=lzma_ \ -I${.CURDIR} \ -I${LZMADIR}/api \ -I${LZMADIR}/common \ @@ -134,4 +134,8 @@ CFLAGS+= -DHAVE_CONFIG_H \ -I${LZMADIR}/simple \ -I${LZMADIR}/../common +VERSION_DEF= ${.CURDIR}/Versions.def +SYMBOL_MAPS= ${.CURDIR}/Symbol.map +CFLAGS+= -DSYMBOL_VERSIONING + .include -- cgit v1.1