summaryrefslogtreecommitdiffstats
path: root/disk-utils
diff options
context:
space:
mode:
authorStepan Kasal2007-05-15 20:46:08 +0200
committerKarel Zak2007-05-16 11:43:29 +0200
commit2984313a46226c7ecd8c5db92236bfaea107a0c7 (patch)
treedd8ba6510f381a79d3b42eae9ce8a714d5009f75 /disk-utils
parentbuild-sys: mount/Makefile.am tiny cleanup (diff)
downloadkernel-qcow2-util-linux-2984313a46226c7ecd8c5db92236bfaea107a0c7.tar.gz
kernel-qcow2-util-linux-2984313a46226c7ecd8c5db92236bfaea107a0c7.tar.xz
kernel-qcow2-util-linux-2984313a46226c7ecd8c5db92236bfaea107a0c7.zip
build-sys: do not build convenience libraries in lib/
Build lib/*.c individually for each project which uses it, so that the right set of flags is applied each time. Signed-off-by: Stepan Kasal <skasal@redhat.com>
Diffstat (limited to 'disk-utils')
-rw-r--r--disk-utils/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/disk-utils/Makefile.am b/disk-utils/Makefile.am
index 95082021b..ab44a3309 100644
--- a/disk-utils/Makefile.am
+++ b/disk-utils/Makefile.am
@@ -26,9 +26,9 @@ endif
if BUILD_CRAMFS
sbin_PROGRAMS += fsck.cramfs mkfs.cramfs
fsck_cramfs_SOURCES = fsck.cramfs.c cramfs.h
-mkfs_cramfs_SOURCES = mkfs.cramfs.c cramfs.h
+mkfs_cramfs_SOURCES = mkfs.cramfs.c cramfs.h ../lib/md5.c
fsck_cramfs_LDADD = -lz
-mkfs_cramfs_LDADD = -lz $(top_srcdir)/lib/libmd5.a
+mkfs_cramfs_LDADD = -lz
endif
mkswap_LDADD =