diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2022-11-09 17:02:37 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2022-11-09 17:03:56 +0100 |
commit | 8f035e30382f81cc6c27ebe5f2ee16f1eb81b61f (patch) | |
tree | 7562de6cbfecc337262689ce641bab5d8c61b740 | |
parent | 9bdae2ab1e809cb8c73cbdde7fcf0fb57fdc7af2 (diff) | |
download | libgphoto2-8f035e30382f81cc6c27ebe5f2ee16f1eb81b61f.tar.gz |
Using _LDFLAGS for libs is wrong, use _LDADD
-rw-r--r-- | libgphoto2_port/tests/Makefile.am | 9 |
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 |