Is there any harm in just using "LDFLAGS-tst-dlopen-aout = -no-pie" without the conditionalized variable? Either way, that variable should be further down in the file, where the details about other individual tests' builds are. The configure check and the +link/+link-tests hack seem OK to me.