summaryrefslogtreecommitdiff
path: root/user/volume_key/worst-python-hack-ever.patch
blob: 1ecb334f44c4d2850a13c3780f7888e4f77eaa00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- volume_key-0.3.10/Makefile.in.old	2018-05-21 08:29:56.000000000 +0000
+++ volume_key-0.3.10/Makefile.in	2018-07-14 09:27:05.430000000 +0000
@@ -683,7 +683,7 @@
 	$(libcryptsetup_CFLAGS) $(nss_CFLAGS)
 
 LOCALEDIR_CPPFLAGS = -DLOCALEDIR='"$(localedir)"'
-PYTHON_CPPFLAGS = -I/usr/include/python$(PYTHON_VERSION)
+PYTHON_CPPFLAGS = -I/usr/include/python$(PYTHON_VERSION)m
 SUBDIRS = po
 dist_man_MANS = doc/volume_key.8
 lib_LTLIBRARIES = lib/libvolume_key.la
@@ -713,7 +713,7 @@
 python__volume_key_la_SOURCES = python/volume_key_wrap.c
 python__volume_key_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_CPPFLAGS)
 python__volume_key_la_LDFLAGS = -module -avoid-version $(glib_LIBS)
-python__volume_key_la_LIBADD = lib/libvolume_key.la -lpython$(PYTHON_VERSION) \
+python__volume_key_la_LIBADD = lib/libvolume_key.la -lpython$(PYTHON_VERSION)m \
 	$(glib_LIBS) $(nss_LIBS)
 
 src_volume_key_SOURCES = src/volume_key.c