]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Fix mistake in setting LOCAL_LIBS
authorgdd <gdd>
Thu, 27 Oct 2011 14:44:58 +0000 (14:44 +0000)
committergdd <gdd>
Thu, 27 Oct 2011 14:44:58 +0000 (14:44 +0000)
adm_local/unix/config_files/check_BLSURF.m4

index 91c1a057efd445b52a7966c5fe449a8e1dc2bbb9..e96e4250fe3f9e2b0139ff09306e8005afe2d6de 100644 (file)
@@ -64,10 +64,7 @@ if test "$with_blsurf" != "no" ; then
     if test $(`which arch`) = x86_64 ; then
         LOCAL_LIBS="-L$BLSURF_HOME/lib/Linux_64"
     fi
-    LOCAL_LIBS="${LOCAL_LIBS} -lBLSurf -ldistene"
-    if test -f ${LOCAL_LIBS}/libPreCAD.so ; then
-      LOCAL_LIBS="${LOCAL_LIBS} -lPreCAD"
-    fi
+    LOCAL_LIBS="${LOCAL_LIBS} -ldistene -lBLSurf -lPreCAD"
 
     CPPFLAGS_old="$CPPFLAGS"
     CXXFLAGS_old="$CXXFLAGS"