diff options
-rw-r--r-- | python/Makefile.am | 2 | ||||
-rw-r--r-- | python/rpm/Makefile.am | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/python/Makefile.am b/python/Makefile.am index 24153b7e5..ae67ec22c 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -39,7 +39,7 @@ mylibs= \ LDADD = -rpmdir = $(pylibdir)/site-packages/rpm +rpmdir = $(prefix)/$(pylibdir)/site-packages/rpm rpm_LTLIBRARIES = _rpmmodule.la _rpmmodule_la_LDFLAGS = $(mylibs) $(LIBS) -module -avoid-version diff --git a/python/rpm/Makefile.am b/python/rpm/Makefile.am index f53e4c04b..79e0948ce 100644 --- a/python/rpm/Makefile.am +++ b/python/rpm/Makefile.am @@ -4,8 +4,8 @@ AUTOMAKE_OPTIONS = 1.4 foreign PYVER = @WITH_PYTHON_VERSION@ -pylibdir = ${prefix}/lib@MARK64@/python@WITH_PYTHON_VERSION@ -pyincdir = $(prefix)/include/python@WITH_PYTHON_VERSION@ +pylibdir = $(prefix)/@WITH_PYTHON_LIB@ +pyincdir = $(prefix)/@WITH_PYTHON_INCLUDE@ EXTRA_DIST = \ __init__.py |