diff options
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/Makefile.am | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/liblzma/Makefile.am b/src/liblzma/Makefile.am index 6323e26a..d73d5f0a 100644 --- a/src/liblzma/Makefile.am +++ b/src/liblzma/Makefile.am @@ -26,10 +26,14 @@ liblzma_la_CPPFLAGS = \ -DTUKLIB_SYMBOL_PREFIX=lzma_ liblzma_la_LDFLAGS = -no-undefined -version-info 8:99:3 -EXTRA_DIST += liblzma.map validate_map.sh -if COND_SYMVERS +EXTRA_DIST += liblzma_generic.map liblzma_linux.map validate_map.sh +if COND_SYMVERS_GENERIC liblzma_la_LDFLAGS += \ - -Wl,--version-script=$(top_srcdir)/src/liblzma/liblzma.map + -Wl,--version-script=$(top_srcdir)/src/liblzma/liblzma_generic.map +endif +if COND_SYMVERS_LINUX +liblzma_la_LDFLAGS += \ + -Wl,--version-script=$(top_srcdir)/src/liblzma/liblzma_linux.map endif liblzma_la_SOURCES += ../common/tuklib_physmem.c |