summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.am2
-rw-r--r--python/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index a4c1b2f35..90f361af6 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -21,5 +21,5 @@ EXTRA_DIST = hash.h upgrade.h
librpmmodule_la_SOURCES = rpmmodule.c hash.c upgrade.c
rpmmodule.so: rpmmodule.lo
- gcc -shared rpmmodule.lo -ldb1 -L/usr/local/lib -lz -lc -o $@
+ gcc -shared rpmmodule.lo -lrpm -ldb1 @BZIP2LIB@ -L/usr/local/lib -lz -lc -o $@
diff --git a/python/Makefile.in b/python/Makefile.in
index a966e22ab..32e08b0b0 100644
--- a/python/Makefile.in
+++ b/python/Makefile.in
@@ -440,7 +440,7 @@ mostlyclean distclean maintainer-clean
rpmmodule.so: rpmmodule.lo
- gcc -shared rpmmodule.lo -ldb1 -L/usr/local/lib -lz -lc -o $@
+ gcc -shared rpmmodule.lo -lrpm -ldb1 @BZIP2LIB@ -L/usr/local/lib -lz -lc -o $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.