diff options
author | Florent Villard <warly@mandriva.com> | 2001-03-04 18:22:45 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2001-03-04 18:22:45 +0000 |
commit | 026419ee95457efa218597ed297ba62766163fbb (patch) | |
tree | 44a417e958960e5b0f626503eeb81efb2c57dc63 | |
parent | f86133e756be5b68e8bea52693cfc6564c305124 (diff) | |
download | rpmtools-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-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |