summaryrefslogtreecommitdiff
blob: 562fc071eac7a5b59a32eb84a1b2bdf5eaf13c8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- python/Makefile.am
+++ python/Makefile.am
@@ -10,8 +10,9 @@
 python_LTLIBRARIES = _gamin.la
 
 _gamin_la_SOURCES = gamin.c
+_gamin_la_CFLAGS = -shared
 _gamin_la_LIBADD = $(top_builddir)/libgamin/libgamin-1.la
-_gamin_la_LDFLAGS = -module -avoid-version
+_gamin_la_LDFLAGS = -module -avoid-version -shared
 
 python_PYTHON = gamin.py