meson: link test-lib{systemd,udev}-sym in the usual way
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 10 Apr 2017 21:35:55 +0000 (17:35 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Apr 2017 01:47:27 +0000 (21:47 -0400)
commitef0221bc954a6341bd172950d1e163d35d472f9e
treef752f2b3ee3c0da902bfac52836b043270093ec5
parent09cef4e7cc1e73f5fad0dbf9309832f5c1f28ffe
meson: link test-lib{systemd,udev}-sym in the usual way

I tried to link to the right library by hand, because without
mesonbuid/meson#1545, libbasic.a is added to the link arguments. We want to
link the test with nothing but the library being tested. Doing the linking by
hand did achieve that, but it caused a bigger issue: meson didn't know about
the dependency on the library. And the dependency cannot be added using
link_depends, because "link_depends arguments must be strings...", and this
does not work with a compilation target. So just link in the usual way and
accept the overlinking (for now).
meson.build