[ostree] tests: Build test-lzma with LZMA flags



commit 4f57aa5b15cc003f6d785abb706ea685e9d59471
Author: Dan Nicholson <nicholson endlessm com>
Date:   Wed Aug 26 09:54:31 2015 -0700

    tests: Build test-lzma with LZMA flags
    
    test-lzma builds a copy of the compressor and decompressor directly, so
    the compiler needs access to the LZMA headers and the linker needs to
    link the program with liblzma.

 Makefile-tests.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Makefile-tests.am b/Makefile-tests.am
index 25bc7a0..df21649 100644
--- a/Makefile-tests.am
+++ b/Makefile-tests.am
@@ -174,8 +174,8 @@ tests_test_ot_tool_util_LDADD = $(TESTS_LDADD)
 
 tests_test_lzma_SOURCES = src/libostree/ostree-lzma-common.c src/libostree/ostree-lzma-compressor.c \
        src/libostree/ostree-lzma-decompressor.c tests/test-lzma.c
-tests_test_lzma_CFLAGS = $(TESTS_CFLAGS)
-tests_test_lzma_LDADD = $(TESTS_LDADD)
+tests_test_lzma_CFLAGS = $(TESTS_CFLAGS) $(OT_DEP_LZMA_CFLAGS)
+tests_test_lzma_LDADD = $(TESTS_LDADD) $(OT_DEP_LZMA_LIBS)
 
 tests_test_gpg_verify_result_SOURCES = \
        src/libostree/ostree-gpg-verify-result-private.h \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]