aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-07-18 12:50:01 +0000
committerFrancois Pons <fpons@mandriva.com>2001-07-18 12:50:01 +0000
commit78feed6676974ee68a6c97061eff60fceb0b7002 (patch)
tree8faad4f6889d916b4658f616aeb5a2a2e4eb628f /Makefile
parent5e6e33a4661b5116e36524b2bcae8793622c1933 (diff)
downloadrpmtools-78feed6676974ee68a6c97061eff60fceb0b7002.tar
rpmtools-78feed6676974ee68a6c97061eff60fceb0b7002.tar.gz
rpmtools-78feed6676974ee68a6c97061eff60fceb0b7002.tar.bz2
rpmtools-78feed6676974ee68a6c97061eff60fceb0b7002.tar.xz
rpmtools-78feed6676974ee68a6c97061eff60fceb0b7002.zip
new release with new rpm.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5b5f831..23b30b5 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ FROMCC_STATIC = $(FROMCC:%=%_static)
ALL = $(FROMC) $(FROMCC)
ALL_STATIC = $(FROMC_STATIC) $(FROMCC_STATIC)
CFLAGS = -Wall -g
-LIBRPM = -lrpm -lrpmio `perl -e 'use rpmtools; rpmtools::version_compare(qx(rpm -q --qf %{VERSION} rpm), "4.0.3") >= 0 and print "-lrpmdb"'` -lz -lbz2 -I/usr/include/rpm -lpopt
+LIBRPM = -lrpm -lrpmio `perl -e 'eval {require "./rpmtools.pm" }; rpmtools::version_compare(qx(rpm -q --qf %{VERSION} rpm), "4.0.3") >= 0 and print "-lrpmdb"'` -lz -lbz2 -I/usr/include/rpm -lpopt
LIBRPM_STATIC =
all: $(ALL)