Force link against XML LIB (useful when using --with-libxml2 option at configure)
[scilab.git] / scilab / Makefile.am
index af4dc75..487d86e 100644 (file)
@@ -38,8 +38,8 @@ if IS_MACOSX
 bin_SCRIPTS            += bin/checkmacosx.applescript
 endif
 
-scilab_bin_LDFLAGS         = $(AM_LDFLAGS) $(OPENMPI_LIBS)
-scilab_cli_bin_LDFLAGS  = $(AM_LDFLAGS) $(OPENMPI_LIBS)
+scilab_bin_LDFLAGS         = $(AM_LDFLAGS) $(OPENMPI_LIBS) $(XML_LIBS)
+scilab_cli_bin_LDFLAGS  = $(AM_LDFLAGS) $(OPENMPI_LIBS) $(XML_LIBS)
 
 if USE_STATIC_SYSTEM_LIB
 scilab_bin_LDFLAGS += -static-libstdc++ -static-libgcc