Don't use static library for the included libgdbus
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 13 Aug 2008 00:32:56 +0000 (02:32 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 13 Aug 2008 00:32:56 +0000 (02:32 +0200)
configure.ac
gdbus/Makefile.am

index e5d9f09..fdb290b 100644 (file)
@@ -65,7 +65,7 @@ AC_SUBST(DBUS_CFLAGS)
 AC_SUBST(DBUS_LIBS)
 
 AC_SUBST([GDBUS_CFLAGS], ['$(DBUS_CFLAGS) -I$(top_srcdir)/gdbus'])
-AC_SUBST([GDBUS_LIBS], ['$(top_builddir)/gdbus/libgdbus.a $(DBUS_LIBS)'])
+AC_SUBST([GDBUS_LIBS], ['$(top_builddir)/gdbus/libgdbus.la $(DBUS_LIBS)'])
 
 PKG_CHECK_MODULES(HAL, hal >= 0.5.8, hal_found=yes, hal_found=no)
 AC_SUBST(HAL_CFLAGS)
index 756b2fa..9447555 100644 (file)
@@ -1,7 +1,7 @@
 
-noinst_LIBRARIES = libgdbus.a
+noinst_LTLIBRARIES = libgdbus.la
 
-libgdbus_a_SOURCES = gdbus.h mainloop.c object.c watch.c
+libgdbus_la_SOURCES = gdbus.h mainloop.c object.c watch.c
 
 AM_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@