summaryrefslogtreecommitdiffstats
path: root/libmount/python
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/python')
-rw-r--r--libmount/python/Makemodule.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/libmount/python/Makemodule.am b/libmount/python/Makemodule.am
index 550ea774b..657cdcb2c 100644
--- a/libmount/python/Makemodule.am
+++ b/libmount/python/Makemodule.am
@@ -12,11 +12,10 @@ pylibmount_la_SOURCES = \
libmount/python/tab.c \
libmount/python/context.c
-pylibmount_la_LIBADD = libmount.la -lpython$(PYTHON_VERSION)
+pylibmount_la_LIBADD = libmount.la $(PYTHON_LIBS)
pylibmount_la_CFLAGS = \
$(AM_CFLAGS) \
- $(PYTHON_INCLUDES) \
$(PYTHON_CFLAGS) \
-I$(ul_libmount_incdir) \
-fno-strict-aliasing #-ggdb3 -O0