aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2001-03-04 18:22:45 +0000
committerFlorent Villard <warly@mandriva.com>2001-03-04 18:22:45 +0000
commit026419ee95457efa218597ed297ba62766163fbb (patch)
tree44a417e958960e5b0f626503eeb81efb2c57dc63
parentf86133e756be5b68e8bea52693cfc6564c305124 (diff)
downloadrpmtools-026419ee95457efa218597ed297ba62766163fbb.tar
rpmtools-026419ee95457efa218597ed297ba62766163fbb.tar.gz
rpmtools-026419ee95457efa218597ed297ba62766163fbb.tar.bz2
rpmtools-026419ee95457efa218597ed297ba62766163fbb.tar.xz
rpmtools-026419ee95457efa218597ed297ba62766163fbb.zip
add db1 and db-3.1 to the static build for rpm2header_static
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8b0eee9..1e812ad 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ ALL = $(FROMC) $(FROMCC)
ALL_STATIC = $(FROMC_STATIC) $(FROMCC_STATIC)
CFLAGS = -Wall -g
LIBRPM = -lrpm -lrpmio -lz -lbz2 -I/usr/include/rpm -lpopt
+LIBRPM_STATIC = -ldb1 -ldb-3.1
all: $(ALL)
@@ -26,7 +27,7 @@ $(FROMC): %: %.c
$(CC) $(CFLAGS) -DVERSION_STRING=\"$(VERSION)\" $< $(LIBRPM) -o $@
$(FROMC_STATIC): %_static: %.c
- $(CC) -s -static $(CFLAGS) -DVERSION_STRING=\"$(VERSION)\" $< $(LIBRPM) -o $@
+ $(CC) -s -static $(CFLAGS) -DVERSION_STRING=\"$(VERSION)\" $< $(LIBRPM) $(LIBRPM_STATIC) -o $@
clean:
rm -rf *~ $(ALL) $(ALL_STATIC)