]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Use dbus-1.def on Windows
authorTor Lillqvist <tml@iki.fi>
Wed, 21 Oct 2009 19:04:52 +0000 (22:04 +0300)
committerRalf Habacker <ralf.habacker@freenet.de>
Tue, 1 Dec 2009 08:20:34 +0000 (09:20 +0100)
dbus/Makefile.am

index c85556a5a2102687594950c7448ecd3fc25528b9..4346de73baf5bdb14aac658ad917ca7b18e07478 100644 (file)
@@ -38,7 +38,9 @@ else
 dbus_res =
 dbus_res_ldflag =
 no_undefined =
-export_symbols =
+## don't export symbols that start with "_" (we use this
+## convention for internal symbols)
+export_symbols = -export-symbols-regex "^[^_].*"
 install-def-file:
 uninstall-def-file:
 
@@ -238,9 +240,7 @@ EXTRA_DIST=dbus-arch-deps.h.in
 noinst_LTLIBRARIES=libdbus-convenience.la
 
 libdbus_1_la_LIBADD= $(DBUS_CLIENT_LIBS)
-## don't export symbols that start with "_" (we use this 
-## convention for internal symbols)
-libdbus_1_la_LDFLAGS= -export-symbols-regex "^[^_].*" -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -no-undefined @R_DYNAMIC_LDFLAG@ @PIC_LDFLAGS@
+libdbus_1_la_LDFLAGS= $(export_symbols) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -no-undefined @R_DYNAMIC_LDFLAG@ @PIC_LDFLAGS@
 
 libdbus_convenience_la_LDFLAGS=@R_DYNAMIC_LDFLAG@