]> granicus.if.org Git - graphviz/commitdiff
add a dependency on libltdl/libltdlc.la so that it gets made first.
authorellson <devnull@localhost>
Fri, 6 Mar 2009 16:40:11 +0000 (16:40 +0000)
committerellson <devnull@localhost>
Fri, 6 Mar 2009 16:40:11 +0000 (16:40 +0000)
lib/gvc/Makefile.am

index 7baf2924d2de941b9e0bfda057f1ca30b57131f7..61c146eb91e46e1516e2686887e92e6f1123b561 100644 (file)
@@ -26,7 +26,7 @@ AM_CFLAGS = -D_BLD_gvc=1
 AM_CPPFLAGS += -O0
 endif
 
-LIBS = $(LIBLTDL) $(SOCKET_LIBS) $(Z_LIBS) $(MATH_LIBS)
+LIBS = $(SOCKET_LIBS) $(Z_LIBS) $(MATH_LIBS)
 
 pkginclude_HEADERS = gvc.h gvcext.h gvplugin.h gvcjob.h \
        gvcommon.h gvplugin_render.h gvplugin_layout.h gvconfig.h \
@@ -51,6 +51,10 @@ if WITH_ORTHO
 libgvc_C_la_LIBADD += $(top_builddir)/lib/ortho/libortho_C.la
 libgvc_C_la_DEPENDENCIES +=  $(top_builddir)/lib/ortho/libortho_C.la
 endif
+if ENABLE_LTDL
+libgvc_C_la_LIBADD += $(top_builddir)/libltdl/libltdlc.la
+libgvc_C_la_DEPENDENCIES += $(top_builddir)/libltdl/libltdlc.la
+endif
 
 libgvc_la_LDFLAGS = -version-info $(GVC_VERSION) -no-undefined
 libgvc_la_SOURCES = $(libgvc_C_la_SOURCES)