summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-10-01 11:05:45 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-10-01 11:05:45 +0300
commitbbeff03dc350a70d812ed634102c01e642db8882 (patch)
tree3b245095eb95d2bf92f917d6f08565a190b04110 /python
parenta4adf99b0f81c2ab72ade92850cfb9b5cf8ffbca (diff)
downloadlibrpm-tizen-bbeff03dc350a70d812ed634102c01e642db8882.tar.gz
librpm-tizen-bbeff03dc350a70d812ed634102c01e642db8882.tar.bz2
librpm-tizen-bbeff03dc350a70d812ed634102c01e642db8882.zip
Force shared build of python extension
- Other than seeing "does it compile", statically linked python extensions make no sense as they're unusable to python.
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 6f9ae242d..2bd623268 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -10,7 +10,7 @@ AM_CPPFLAGS += -I@WITH_PYTHON_INCLUDE@
pkgpyexec_LTLIBRARIES = _rpmmodule.la _rpmbmodule.la
pkgpyexec_DATA = rpm/__init__.py rpm/transaction.py
-_rpmmodule_la_LDFLAGS = -module -avoid-version
+_rpmmodule_la_LDFLAGS = -module -avoid-version -shared
_rpmmodule_la_LIBADD = \
$(top_builddir)/lib/librpm.la \
$(top_builddir)/rpmio/librpmio.la \
@@ -29,7 +29,7 @@ _rpmmodule_la_SOURCES = rpmmodule.c rpmsystem-py.h \
rpmte-py.c rpmte-py.h \
rpmts-py.c rpmts-py.h
-_rpmbmodule_la_LDFLAGS = -module -avoid-version
+_rpmbmodule_la_LDFLAGS = -module -avoid-version -shared
_rpmbmodule_la_LIBADD = \
$(top_builddir)/build/librpmbuild.la \
$(top_builddir)/lib/librpm.la \