Fix the library linking declaration
[scilab.git] / scilab / modules / arnoldi / Makefile.am
index da79860..f62230b 100644 (file)
@@ -29,7 +29,8 @@ libsciarnoldi_la_CPPFLAGS = \
 
 pkglib_LTLIBRARIES = libsciarnoldi.la
 
-libsciarnoldi_la_LDFLAGS = $(BLAS_LIBS) $(LAPACK_LIBS) $(ARPACK_LIBS) $(AM_LDFLAGS)
+libsciarnoldi_la_LDFLAGS = $(AM_LDFLAGS)
+libsciarnoldi_la_LIBADD = $(BLAS_LIBS) $(LAPACK_LIBS) $(ARPACK_LIBS)
 
 libsciarnoldi_la_SOURCES = $(ARNOLDI_C_SOURCES) $(GATEWAY_C_SOURCES)