tests: use -no-install libtool flag to avoid ./lt-* scripts

This ensures that the rpath of the generated binaries is set to use only
the just-compiled so-files and not any system-wide installed libraries
while avoiding the ugly shell script wrapper.

Change-Id: I927561289b17b313d52fb5c1da55e237fc1d33be
diff --git a/tests/auc/Makefile.am b/tests/auc/Makefile.am
index 9f2974f..a3814b6 100644
--- a/tests/auc/Makefile.am
+++ b/tests/auc/Makefile.am
@@ -13,6 +13,7 @@
 	$(NULL)
 
 AM_LDFLAGS = \
+	-no-install \
 	$(NULL)
 
 EXTRA_DIST = \
diff --git a/tests/db/Makefile.am b/tests/db/Makefile.am
index d5fce65..afda5be 100644
--- a/tests/db/Makefile.am
+++ b/tests/db/Makefile.am
@@ -10,6 +10,10 @@
 	$(SQLITE3_CFLAGS) \
 	$(NULL)
 
+AM_LDFLAGS = \
+	-no-install \
+	$(NULL)
+
 EXTRA_DIST = \
 	db_test.ok \
 	db_test.err \
diff --git a/tests/gsup/Makefile.am b/tests/gsup/Makefile.am
index 7c33dbd..907aae8 100644
--- a/tests/gsup/Makefile.am
+++ b/tests/gsup/Makefile.am
@@ -12,6 +12,7 @@
 	$(NULL)
 
 AM_LDFLAGS = \
+	-no-install \
 	$(NULL)
 
 EXTRA_DIST = \
diff --git a/tests/gsup_server/Makefile.am b/tests/gsup_server/Makefile.am
index fee60f5..686ce37 100644
--- a/tests/gsup_server/Makefile.am
+++ b/tests/gsup_server/Makefile.am
@@ -12,6 +12,7 @@
 	$(NULL)
 
 AM_LDFLAGS = \
+	-no-install \
 	$(NULL)
 
 EXTRA_DIST = \