summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgphoto2_port/tests/Makefile.am9
1 files changed, 4 insertions, 5 deletions
diff --git a/libgphoto2_port/tests/Makefile.am b/libgphoto2_port/tests/Makefile.am
index 0ed67d5b8..fb0b31ead 100644
--- a/libgphoto2_port/tests/Makefile.am
+++ b/libgphoto2_port/tests/Makefile.am
@@ -18,16 +18,15 @@ AM_CPPFLAGS += -I$(top_srcdir)
noinst_PROGRAMS += test-gp-port test-port-list
test_gp_port_CPPFLAGS = $(AM_CPPFLAGS) $(LTDLINCL) $(CPPFLAGS)
test_gp_port_SOURCES = test-gp-port.c
-test_gp_port_LDFLAGS = $(top_builddir)/libgphoto2_port/libgphoto2_port.la $(LIBLTDL) $(INTLLIBS)
+test_gp_port_LDADD = $(top_builddir)/libgphoto2_port/libgphoto2_port.la
+test_gp_port_LDADD += $(LIBLTDL) $(INTLLIBS)
TESTS += test-port-list
INSTALL_TESTS += test-port-list
check_PROGRAMS += test-port-list
test_port_list_CPPFLAGS = $(AM_CPPFLAGS) $(LTDLINCL) $(CPPFLAGS)
test_port_list_SOURCES = test-port-list.c
-test_port_list_LDFLAGS = \
- $(top_builddir)/libgphoto2_port/libgphoto2_port.la \
- $(LIBLTDL) \
- $(INTLLIBS)
+test_port_list_LDADD = $(top_builddir)/libgphoto2_port/libgphoto2_port.la
+test_port_list_LDADD += $(LIBLTDL) $(INTLLIBS)
include $(top_srcdir)/installcheck.mk