diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2014-02-13 13:25:03 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2014-09-05 14:45:08 +0300 |
commit | f3801bccb9eb068a747ca63a4b01518a260d9919 (patch) | |
tree | a8c983b9034c8d291d9d19a2b791ec2229981022 | |
parent | ddc7ff28e14064f57c6917e133a95e73f749cf41 (diff) | |
download | rpm-f3801bccb9eb068a747ca63a4b01518a260d9919.tar.gz |
Build python 3 compatibile module names
- Python 2 accepts foomodule.so as an alias for foo.so, Python 3 does
not. Build foo.so names which works with both...
(cherry picked from commit 1197c9d3eb60b6af4ab59a02c4318d235c6117d6)
-rw-r--r-- | python/Makefile.am | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/python/Makefile.am b/python/Makefile.am index 46e217444..19a28cc2d 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -6,16 +6,16 @@ AM_CPPFLAGS = -I$(top_builddir)/include/ AM_CPPFLAGS += -I$(top_srcdir)/python AM_CPPFLAGS += -I@WITH_PYTHON_INCLUDE@ -pkgpyexec_LTLIBRARIES = _rpmmodule.la _rpmbmodule.la _rpmsmodule.la +pkgpyexec_LTLIBRARIES = _rpm.la _rpmb.la _rpms.la pkgpyexec_DATA = rpm/__init__.py rpm/transaction.py -_rpmmodule_la_LDFLAGS = -module -avoid-version -shared -_rpmmodule_la_LIBADD = \ +_rpm_la_LDFLAGS = -module -avoid-version -shared +_rpm_la_LIBADD = \ $(top_builddir)/lib/librpm.la \ $(top_builddir)/rpmio/librpmio.la \ @WITH_PYTHON_LIB@ -_rpmmodule_la_SOURCES = rpmmodule.c rpmsystem-py.h \ +_rpm_la_SOURCES = rpmmodule.c rpmsystem-py.h \ header-py.c header-py.h \ rpmds-py.c rpmds-py.h \ rpmfd-py.c rpmfd-py.h \ @@ -30,22 +30,22 @@ _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 -shared -_rpmbmodule_la_LIBADD = \ +_rpmb_la_LDFLAGS = -module -avoid-version -shared +_rpmb_la_LIBADD = \ $(top_builddir)/build/librpmbuild.la \ $(top_builddir)/lib/librpm.la \ $(top_builddir)/rpmio/librpmio.la \ @WITH_PYTHON_LIB@ -_rpmbmodule_la_SOURCES = rpmbmodule.c rpmsystem-py.h \ +_rpmb_la_SOURCES = rpmbmodule.c rpmsystem-py.h \ spec-py.c spec-py.h -_rpmsmodule_la_LDFLAGS = -module -avoid-version -shared -_rpmsmodule_la_LIBADD = \ +_rpms_la_LDFLAGS = -module -avoid-version -shared +_rpms_la_LIBADD = \ $(top_builddir)/sign/librpmsign.la \ $(top_builddir)/lib/librpm.la \ $(top_builddir)/rpmio/librpmio.la \ @WITH_PYTHON_LIB@ -_rpmsmodule_la_SOURCES = rpmsmodule.c rpmsystem-py.h +_rpms_la_SOURCES = rpmsmodule.c rpmsystem-py.h |