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:
Hans Ulrich Niedermann
2007-10-17 03:02:57 +00:00
parent 70612c8e76
commit 3664ae290f
4 changed files with 11 additions and 1 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -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)

View File

@@ -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)