diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-11-15 12:40:17 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-11-15 12:40:17 +0200 |
commit | 93e418562cf127a9171e87bcd4e9af8e1bfcdae4 (patch) | |
tree | ed57e18edfa1758f3763d7b85c370a8926861ccb /src/liblzma/Makefile.am | |
parent | Updated THANKS. (diff) | |
download | xz-93e418562cf127a9171e87bcd4e9af8e1bfcdae4.tar.xz |
Add lzma_physmem().
I had hoped to keep liblzma as purely a compression
library as possible (e.g. file I/O will go into
a different library), but it seems that applications
linking agaisnt liblzma need some way to determine
the memory usage limit, and knowing the amount of RAM
is one reasonable way to help making such decisions.
Thanks to Jonathan Nieder for the original patch.
Diffstat (limited to 'src/liblzma/Makefile.am')
-rw-r--r-- | src/liblzma/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/liblzma/Makefile.am b/src/liblzma/Makefile.am index 6d5753b1..a4d2c1e6 100644 --- a/src/liblzma/Makefile.am +++ b/src/liblzma/Makefile.am @@ -12,7 +12,7 @@ CLEANFILES = doc_DATA = lib_LTLIBRARIES = liblzma.la -liblzma_la_SOURCES = +liblzma_la_SOURCES = $(top_srcdir)/src/common/tuklib_physmem.c liblzma_la_CPPFLAGS = \ -I$(top_srcdir)/src/liblzma/api \ -I$(top_srcdir)/src/liblzma/common \ @@ -23,7 +23,8 @@ liblzma_la_CPPFLAGS = \ -I$(top_srcdir)/src/liblzma/subblock \ -I$(top_srcdir)/src/liblzma/delta \ -I$(top_srcdir)/src/liblzma/simple \ - -I$(top_srcdir)/src/common + -I$(top_srcdir)/src/common \ + -DTUKLIB_SYMBOL_PREFIX=lzma_ liblzma_la_LDFLAGS = -no-undefined -version-info 0:0:0 include $(srcdir)/common/Makefile.inc |