python: Don't build static library
authorHilko Bengen <bengen@hilluzination.de>
Mon, 22 Aug 2011 18:42:08 +0000 (20:42 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 24 Aug 2011 11:56:45 +0000 (12:56 +0100)
python/Makefile.am

index 5884762..82960d6 100644 (file)
@@ -43,7 +43,7 @@ libguestfsmod_la_SOURCES = guestfs-py.c guestfs-py.h guestfs-py-byhand.c
 libguestfsmod_la_CFLAGS = -Wall -I$(PYTHON_INCLUDEDIR) \
                          -I$(top_srcdir)/src -I$(top_builddir)/src
 libguestfsmod_la_LIBADD = $(top_builddir)/src/libguestfs.la
-libguestfsmod_la_LDFLAGS = -avoid-version
+libguestfsmod_la_LDFLAGS = -avoid-version -shared
 
 TESTS_ENVIRONMENT = \
        LIBGUESTFS_PATH=$(top_builddir)/appliance \