aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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)