diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2018-01-22 18:40:19 +0000 |
|---|---|---|
| committer | Kyle Evans <kevans@FreeBSD.org> | 2018-01-22 18:40:19 +0000 |
| commit | e36cba8a36c52246fc4e6132338eb0b087daa888 (patch) | |
| tree | c87c0c8485eb56de2e38b7b2f801e2d6d4275e31 /lib/libregex | |
| parent | 6a86483da1f9cf822ddf1b0e220d541f824d3e19 (diff) | |
Notes
Diffstat (limited to 'lib/libregex')
| -rw-r--r-- | lib/libregex/Makefile | 4 | ||||
| -rw-r--r-- | lib/libregex/Symbol.map | 16 | ||||
| -rw-r--r-- | lib/libregex/Versions.def | 5 |
3 files changed, 24 insertions, 1 deletions
diff --git a/lib/libregex/Makefile b/lib/libregex/Makefile index eb6b0b646500..186bb20088ce 100644 --- a/lib/libregex/Makefile +++ b/lib/libregex/Makefile @@ -9,9 +9,11 @@ SHLIB_MINOR= 0 CFLAGS+= -DLIBREGEX LIBC_SRCTOP= ${.CURDIR:H}/libc -SYMBOL_MAPS= ${SYM_MAPS} WARNS?= 2 +VERSION_DEF= ${.CURDIR}/Versions.def +SYMBOL_MAPS= ${.CURDIR}/Symbol.map + #HAS_TESTS= SUBDIR.${MK_TESTS}+= tests diff --git a/lib/libregex/Symbol.map b/lib/libregex/Symbol.map new file mode 100644 index 000000000000..09cd21183723 --- /dev/null +++ b/lib/libregex/Symbol.map @@ -0,0 +1,16 @@ +/* + * $FreeBSD$ + */ + +/* + * libregex uses a different version name because its symbols are not strictly + * compatible with those provided by libc. Re-using the version name from libc + * could cause linking headaches and make debugging more difficult than it needs + * to be. + */ +LIBREGEX_1.0 { + regcomp; + regerror; + regexec; + regfree; +}; diff --git a/lib/libregex/Versions.def b/lib/libregex/Versions.def new file mode 100644 index 000000000000..b6c842007622 --- /dev/null +++ b/lib/libregex/Versions.def @@ -0,0 +1,5 @@ +# $FreeBSD$ + +LIBREGEX_1.0 { +}; + |
