mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-01 18:40:12 +01:00
Bug 22805 - Fix build with -Wl,--as-needed
Explicitly link dbus_convenience.la against DBUS_CLIENT_LIBS because it uses $THREAD_LIBS, just like the main library does.
This commit is contained in:
parent
ffa322b80f
commit
1116f210aa
1 changed files with 1 additions and 0 deletions
|
|
@ -175,6 +175,7 @@ libdbus_1_la_LIBADD= $(DBUS_CLIENT_LIBS)
|
|||
## 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_convenience_la_LIBADD=$(DBUS_CLIENT_LIBS)
|
||||
libdbus_convenience_la_LDFLAGS=@R_DYNAMIC_LDFLAG@
|
||||
|
||||
## note that TESTS has special meaning (stuff to use in make check)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue