The registration of the core, efl, etc... tests
are done at runtime when those particular libraries (shared libs)
are loaded. Ubuntu does lazy loading of shared libraries, however
our test libraries aren't explicitly used/called into from wfits...
i.e. it relies on being loaded at startup. Therefore, we need
to pass -Wl,--no-as-needed to the linker so that we get the correct
behavior on Ubuntu (i.e. bypass laziness).
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
LT_PREREQ([2.2])
LT_INIT
+LDFLAGS="-Wl,--no-as-needed"
+
PKG_CHECK_MODULES([CHECK], [check >= 0.9.8])
PKG_CHECK_MODULES(CAIRO, [cairo >= 1.10.0])
PKG_CHECK_MODULES(WAYLAND, [wayland-client wayland-egl])