From 864fe7420aa19d37a87a98bd84abf52b638605e7 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Wed, 25 Apr 2007 09:16:02 +0000 Subject: [PATCH] Fix global links to local for correct work on any station --- src/SALOME_PYQT/SalomePyQt/Makefile.am | 4 ++-- src/SALOME_SWIG/Makefile.am | 2 +- src/Style/Makefile.am | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SALOME_PYQT/SalomePyQt/Makefile.am b/src/SALOME_PYQT/SalomePyQt/Makefile.am index 4aa3c072b..50ee57d5c 100644 --- a/src/SALOME_PYQT/SalomePyQt/Makefile.am +++ b/src/SALOME_PYQT/SalomePyQt/Makefile.am @@ -117,11 +117,11 @@ $(MOC_H): $(SIP_FILES) if IS_SIP_V4 install-exec-hook: $(libdir)/SalomePyQt.so $(libdir)/SalomePyQt.so: - ln -s $(libdir)/libSalomePyQt.so $@ + (cd $(libdir); ln -s libSalomePyQt.so SalomePyQt.so;) else !IS_SIP_V4 install-exec-hook: $(libdir)/SalomePyQtcmodule.so $(libdir)/SalomePyQt.so: - ln -sf $(libdir)/libSalomePyQtcmodule.so $@ + (cd $(libdir); ln -sf libSalomePyQtcmodule.so SalomePyQt.so;) endif $(SIP_SRC): $(MOC_SRC) diff --git a/src/SALOME_SWIG/Makefile.am b/src/SALOME_SWIG/Makefile.am index 48d249852..f5a184e42 100755 --- a/src/SALOME_SWIG/Makefile.am +++ b/src/SALOME_SWIG/Makefile.am @@ -113,4 +113,4 @@ sharedpkgpython_PYTHON= SALOMEGUI_shared_modules.py install-exec-hook: $(libdir)/_libSALOME_Swig.so $(libdir)/_libSALOME_Swig.so: - ln -sf $(libdir)/libSALOME_Swigcmodule.so $@ + (cd $(libdir); ln -sf libSALOME_Swigcmodule.so _libSALOME_Swig.so;) diff --git a/src/Style/Makefile.am b/src/Style/Makefile.am index 8a9c807e2..88e0f1a0b 100644 --- a/src/Style/Makefile.am +++ b/src/Style/Makefile.am @@ -35,7 +35,7 @@ EXTRA_DIST+=SalomeStyle.h install-exec-hook: mkdir -p $(bindir)/styles - ln -sf $(libdir)/libSalomeStyle.so $(bindir)/styles + (cd $(bindir)/styles; ln -sf ../../../lib/salome/libSalomeStyle.so libSalomeStyle.so;) uninstall-hook: rm -f $(bindir)/styles/libSalomeStyle.so -- 2.39.2