diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2010-06-18 17:05:12 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2010-06-18 17:05:12 +0200 |
commit | 566222bce7a75f66cb7930f1808ab4aad4ab5d5e (patch) | |
tree | 31c120c61a8575c34ba327e5538dc9bfbb520bc2 /libstore | |
parent | c3f57e636d9456cce0e4274f5eb1f9fe44e4ffb9 (diff) | |
download | hurd-566222bce7a75f66cb7930f1808ab4aad4ab5d5e.tar.gz hurd-566222bce7a75f66cb7930f1808ab4aad4ab5d5e.tar.bz2 hurd-566222bce7a75f66cb7930f1808ab4aad4ab5d5e.zip |
Build part only when parted support is enabled
* libstore/Makefile (store-types): Remove part.
[HAVE_PARTED] (store-types): Add part.
[HAVE_PARTED] (libstore.so-LDLIBS): Add -lparted.
Diffstat (limited to 'libstore')
-rw-r--r-- | libstore/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libstore/Makefile b/libstore/Makefile index 2733119b..b1172c6a 100644 --- a/libstore/Makefile +++ b/libstore/Makefile @@ -40,11 +40,15 @@ store-types = \ module \ mvol \ nbd \ - part \ remap \ task \ zero +ifeq (HAVE_PARTED,yes) +store-types += part +libstore.so-LDLIBS += -lparted +endif + libstore.so-LDLIBS += -ldl LCLHDRS=store.h installhdrs=store.h |