Link libstrongswan directly to dumm/irdumm, fixes build with newer binutils
authorMartin Willi <martin@revosec.ch>
Thu, 19 May 2011 12:29:21 +0000 (14:29 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 19 May 2011 13:47:40 +0000 (15:47 +0200)
src/dumm/Makefile.am

index b7fb3f7..83d15d7 100644 (file)
@@ -9,10 +9,9 @@ libdumm_la_SOURCES = dumm.c dumm.h guest.c guest.h iface.c iface.h \
 dumm_SOURCES = main.c
 irdumm_SOURCES = irdumm.c
 
 dumm_SOURCES = main.c
 irdumm_SOURCES = irdumm.c
 
-libdumm_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la \
-  -lbridge -lfuse -lutil
-dumm_LDADD = libdumm.la ${gtk_LIBS}
-irdumm_LDADD = libdumm.la -lruby1.8
+libdumm_la_LIBADD = -lbridge -lfuse -lutil
+dumm_LDADD = libdumm.la ${gtk_LIBS} $(top_builddir)/src/libstrongswan/libstrongswan.la
+irdumm_LDADD = libdumm.la -lruby1.8 $(top_builddir)/src/libstrongswan/libstrongswan.la
 
 INCLUDES = -I$(top_srcdir)/src/libstrongswan ${gtk_CFLAGS} \
   ${RUBYINCLUDE}
 
 INCLUDES = -I$(top_srcdir)/src/libstrongswan ${gtk_CFLAGS} \
   ${RUBYINCLUDE}