From ffbd11fbd37d6a4ce5a8fceab6b4e9d203e35ade Mon Sep 17 00:00:00 2001 From: ellson Date: Fri, 6 Mar 2009 16:40:11 +0000 Subject: [PATCH] add a dependency on libltdl/libltdlc.la so that it gets made first. --- lib/gvc/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/gvc/Makefile.am b/lib/gvc/Makefile.am index 7baf2924d..61c146eb9 100644 --- a/lib/gvc/Makefile.am +++ b/lib/gvc/Makefile.am @@ -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) -- 2.40.0