diff --git a/src/SMESH_SWIG/Makefile.am b/src/SMESH_SWIG/Makefile.am index f1d506a56..232e1882b 100644 --- a/src/SMESH_SWIG/Makefile.am +++ b/src/SMESH_SWIG/Makefile.am @@ -176,4 +176,4 @@ EXPORT_SHAREDPYSCRIPTS = \ install-exec-hook: $(libdir)/_libSMESH_Swig.so $(libdir)/_libSMESH_Swig.so: - ln -sf $(libdir)/libSMESH_Swigcmodule.so $@ + ( cd $(libdir); ln -sf libSMESH_Swigcmodule.so _libSMESH_Swig.so; )