summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-08-10 15:29:53 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-08-10 15:29:53 +0200
commite577c3923495d599c9cbb9523c3ca4f1fc32e12a (patch)
treeea660d8f4a2ac5c75a7389b8ae58779e9a8b9863 /tools
parentd1e0b73576ba80a8d1956365386d41539a60048a (diff)
downloadrpm-e577c3923495d599c9cbb9523c3ca4f1fc32e12a.tar.gz
rpm-e577c3923495d599c9cbb9523c3ca4f1fc32e12a.tar.bz2
rpm-e577c3923495d599c9cbb9523c3ca4f1fc32e12a.zip
Build debugedit only if LIBELF and LIBDWARF are present.
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 5d6d54665..abfbf1120 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -27,6 +27,7 @@ pkgbin_PROGRAMS =
EXTRA_PROGRAMS += convertdb1
convertdb1_SOURCES = convertdb1.c
+if LIBELF
if LIBDWARF
pkgbin_PROGRAMS += debugedit
debugedit_SOURCES = debugedit.c hashtab.c hashtab.h
@@ -35,6 +36,7 @@ debugedit_LDFLAGS = @WITH_LIBELF_LIB@ \
@WITH_BEECRYPT_LIB@ \
@WITH_POPT_LIB@
endif
+endif
pkgbin_PROGRAMS += javadeps
javadeps_SOURCES = javadeps.c