diff options
author | Karel Zak | 2012-08-02 20:19:14 +0200 |
---|---|---|
committer | Karel Zak | 2012-08-02 20:19:14 +0200 |
commit | 43ffdc82fa3ef632638cf5e6899811fc4b01d351 (patch) | |
tree | b3198dfb07c36da4e6ec89d8d3a8c417b6c93397 /libblkid | |
parent | wdctl: tiny change to man page (diff) | |
download | kernel-qcow2-util-linux-43ffdc82fa3ef632638cf5e6899811fc4b01d351.tar.gz kernel-qcow2-util-linux-43ffdc82fa3ef632638cf5e6899811fc4b01d351.tar.xz kernel-qcow2-util-linux-43ffdc82fa3ef632638cf5e6899811fc4b01d351.zip |
build-sys: don't compile lib{mount,blkid} tests when --disable-static specified
The tests often depend on private (non-API) library functions.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libblkid')
-rw-r--r-- | libblkid/src/Makemodule.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libblkid/src/Makemodule.am b/libblkid/src/Makemodule.am index b168c7c1e..de6045801 100644 --- a/libblkid/src/Makemodule.am +++ b/libblkid/src/Makemodule.am @@ -131,6 +131,7 @@ EXTRA_DIST += \ libblkid/src/blkid.sym \ libblkid/src/blkid.h.in +if BUILD_LIBBLKID_TESTS check_PROGRAMS += \ test_blkid_cache \ test_blkid_config \ @@ -210,6 +211,9 @@ test_blkid_verify_CFLAGS = $(blkid_tests_cflags) test_blkid_verify_LDFLAGS = $(blkid_tests_ldflags) test_blkid_verify_LDADD = $(blkid_tests_ldadd) +endif # BUILD_LIBBLKID_TESTS + + # move lib from $(usrlib_execdir) to $(libdir) if needed install-exec-hook-libblkid: if test "$(usrlib_execdir)" != "$(libdir)"; then \ |