summaryrefslogtreecommitdiffstats
path: root/libmount/python
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/python')
-rw-r--r--libmount/python/Makemodule.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/libmount/python/Makemodule.am b/libmount/python/Makemodule.am
index fd574ef12..550ea774b 100644
--- a/libmount/python/Makemodule.am
+++ b/libmount/python/Makemodule.am
@@ -1,6 +1,9 @@
if BUILD_PYLIBMOUNT
-pyexec_LTLIBRARIES += pylibmount.la
+
+pylibmountexecdir = $(pyexecdir)/libmount
+pylibmountexec_LTLIBRARIES = pylibmount.la
+pylibmountexec_SCRIPTS = libmount/python/libmount/__init__.py
pylibmount_la_SOURCES = \
libmount/python/pylibmount.c \
@@ -21,8 +24,6 @@ pylibmount_la_CFLAGS = \
pylibmount_la_LDFLAGS = \
-avoid-version -module -shared -export-dynamic
-EXTRA_DIST += libmount/python/libmount/__init__.py
-
CLEANFILES += *.img
endif # BUILD_PYLIBMOUNT