diff --git a/configure/os/CONFIG_SITE.hpux-parisc.hpux-parisc b/configure/os/CONFIG_SITE.hpux-parisc.hpux-parisc index b50b90f12..757ffb11b 100644 --- a/configure/os/CONFIG_SITE.hpux-parisc.hpux-parisc +++ b/configure/os/CONFIG_SITE.hpux-parisc.hpux-parisc @@ -9,16 +9,21 @@ SHARED_LIBRARIES=YES # where we expect to find shared libraries if not found elsewhere +# No special action should be required to build or use shared libraries. +# However, when a new shared library is built using the above configuration, +# it should be copied into the location specified by DEFAULT_SHRLIB_SEARCH_PATH +# which in this specific case is: /cs/lib/R3.13.1.1/ + +# JLab version #DEFAULT_SHRLIB_SEARCH_PATH = /cs/lib/R$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION).$(EPICS_UPDATE_NAME)$(EPICS_UPDATE_LEVEL):$(INSTALL_LIB) + +# BESSY version DEFAULT_SHRLIB_SEARCH_PATH = /opt/epics/R$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)/support/base/$(EPICS_VERSION)-$(EPICS_REVISION)-$(EPICS_MODIFICATION)-$(EPICS_UPDATE_NAME)$(EPICS_UPDATE_LEVEL)/lib/hpux-parisc -#No special action should be required to build or use shared libraries. -#However, when a new shared library is built using the above configuration, -#it should be copied into the location specified by DEFAULT_SHRLIB_SEARCH_PATH -#which in this specific case is: /cs/lib/R3.13.1.1/ - # cal added this so that libraries can be built with position -# independent code even if shared libraries aren't being built +# independent code even if shared libraries aren't being built. +# Otherwise you would have to recompile everything when switching from +# static to shared. ifeq ($(RELOCATABLE), YES) ARCH_DEP_CFLAGS += +z ARCH_DEP_CXXFLAGS += +z