]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Disable building of static Python module
authorDiego Elio Pettenò <flameeyes@gmail.com>
Wed, 6 Jan 2010 16:33:41 +0000 (17:33 +0100)
committerDaniel Veillard <veillard@redhat.com>
Wed, 6 Jan 2010 16:33:41 +0000 (17:33 +0100)
* python/Makefile.am: python modules are loaded at runtime so the static
  version is not needed, avoid building it

python/Makefile.am

index 04342b7c1cf5dc78263e143ba1ba4592c0d69595..58c6729875b19d97c14111d447edf27260f1ea71 100644 (file)
@@ -39,7 +39,7 @@ libvirtmod_la_SOURCES = libvirt-override.c typewrappers.c libvirt.c libvirt.h
 # need extra flags here
 libvirtmod_la_CFLAGS = @WARN_PYTHON_CFLAGS@
 
-libvirtmod_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/.libs \
+libvirtmod_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/src/.libs \
        @CYGWIN_EXTRA_LDFLAGS@
 libvirtmod_la_LIBADD = $(mylibs) \
        @CYGWIN_EXTRA_LIBADD@ @CYGWIN_EXTRA_PYTHON_LIBADD@