Also link against $(LIBLTDL) if linking against libgphoto2.la
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10794 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -23,6 +23,9 @@ INSTALL_TESTS += test-port-list
|
||||
check_PROGRAMS += test-port-list
|
||||
test_port_list_CPPFLAGS = $(AM_CPPFLAGS) $(LTDLINCL) $(CPPFLAGS)
|
||||
test_port_list_SOURCE = test-gp-port.c
|
||||
test_port_list_LDFLAGS = $(top_builddir)/libgphoto2_port/libgphoto2_port.la $(LIBLTDL) $(INTLLIBS)
|
||||
test_port_list_LDFLAGS = \
|
||||
$(top_builddir)/libgphoto2_port/libgphoto2_port.la \
|
||||
$(LIBLTDL) \
|
||||
$(INTLLIBS)
|
||||
|
||||
include $(top_srcdir)/installcheck.mk
|
||||
|
||||
@@ -6,4 +6,5 @@ print_camera_list_SOURCE = print-camera-list.c
|
||||
print_camera_list_LDADD = \
|
||||
$(top_builddir)/libgphoto2/libgphoto2.la \
|
||||
$(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
|
||||
$(LIBLTDL) \
|
||||
$(LIBEXIF_LIBS)
|
||||
|
||||
@@ -28,6 +28,7 @@ test_gphoto2_SOURCE = test-gphoto2.c
|
||||
test_gphoto2_LDADD = \
|
||||
$(top_builddir)/libgphoto2/libgphoto2.la \
|
||||
$(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
|
||||
$(LIBLTDL) \
|
||||
$(LIBEXIF_LIBS) \
|
||||
$(INTLLIBS)
|
||||
|
||||
@@ -36,6 +37,7 @@ test_filesys_SOURCE = test-filesys.c
|
||||
test_filesys_LDADD = \
|
||||
$(top_builddir)/libgphoto2/libgphoto2.la \
|
||||
$(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
|
||||
$(LIBLTDL) \
|
||||
$(LIBEXIF_LIBS) \
|
||||
$(INTLLIBS)
|
||||
|
||||
@@ -48,6 +50,7 @@ test_camera_list_SOURCE = test-camera-list.c
|
||||
test_camera_list_LDADD = \
|
||||
$(top_builddir)/libgphoto2/libgphoto2.la \
|
||||
$(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
|
||||
$(LIBLTDL) \
|
||||
$(LIBEXIF_LIBS) \
|
||||
$(INTLLIBS)
|
||||
|
||||
@@ -72,6 +75,7 @@ test_pedantic_c_CFLAGS = \
|
||||
test_pedantic_c_LDADD = \
|
||||
$(top_builddir)/libgphoto2/libgphoto2.la \
|
||||
$(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
|
||||
$(LIBLTDL) \
|
||||
$(LIBEXIF_LIBS) \
|
||||
$(INTLLIBS)
|
||||
|
||||
@@ -92,6 +96,7 @@ test_pedantic_cxx_CXXFLAGS = \
|
||||
test_pedantic_cxx_LDADD = \
|
||||
$(top_builddir)/libgphoto2/libgphoto2.la \
|
||||
$(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
|
||||
$(LIBLTDL) \
|
||||
$(LIBEXIF_LIBS) \
|
||||
$(INTLLIBS)
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@ test_ddb_LDADD = \
|
||||
-lfl \
|
||||
$(top_builddir)/libgphoto2/libgphoto2.la \
|
||||
$(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
|
||||
$(LIBLTDL) \
|
||||
$(LIBEXIF_LIBS) \
|
||||
$(INTLLIBS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user