1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 09:09:47 +02:00
Benjamin Drung 8d4ef6054a Fix linking of libsuil
libsuil uses directly symbols of X11 when compiling with GTK2. The build
will fail if compiled with -Wl,--as-needed:

[6/6] cshlib: build/src/x11_in_gtk2.c.3.o -> build/libsuil_x11_in_gtk2.so
src/x11_in_gtk2.c.3.o: In function `forward_key_event':
lib-src/lv2/suil/build/../src/x11_in_gtk2.c:159: undefined reference to `XSendEvent'
src/x11_in_gtk2.c.3.o: In function `x_window_is_valid':
lv2/suil/build/../src/x11_in_gtk2.c:71: undefined reference to `XQueryTree'
src/x11_in_gtk2.c.3.o: In function `forward_size_request':
lib-src/lv2/suil/build/../src/x11_in_gtk2.c:172: undefined reference to `XResizeWindow'
collect2: error: ld returned 1 exit status
Waf: Leaving directory `lib-src/lv2/suil/build'
Build failed

Therefore link against X11 when using GTK2.
2016-05-13 22:14:40 +02:00
..
2016-05-13 22:14:40 +02:00

Suil
----

Suil is a library for loading and wrapping LV2 plugin UIs.  With Suil, a host
written in one supported toolkit can embed a plugin UI written in a different
supported toolkit.  Suil insulates hosts from toolkit libraries used by plugin
UIs.  For example, a Gtk host can embed a Qt UI without linking against Qt at
compile time.

 -- David Robillard <d@drobilla.net>