diff --git a/icu4c/source/config/mh-hpux-acc b/icu4c/source/config/mh-hpux-acc index 8fbdad4f0f7..cade48559a5 100644 --- a/icu4c/source/config/mh-hpux-acc +++ b/icu4c/source/config/mh-hpux-acc @@ -3,7 +3,7 @@ ## Copyright (c) 1999-2000, International Business Machines Corporation and ## others. All Rights Reserved. ## -## $Id: mh-hpux-acc,v 1.19 2000/10/18 19:02:06 yves Exp $ +## $Id: mh-hpux-acc,v 1.20 2000/10/19 20:29:42 yves Exp $ ## Commands to generate dependency files GEN_DEPS.c= : @@ -32,7 +32,7 @@ LD_RPATH_PRE= LDLIBRARYPATH_ENVVAR = SHLIB_PATH ## Compiler switch to embed a library name -LD_SONAME = +h $(MIDDLE_SO_TARGET) +LD_SONAME = -Wl,+h -Wl,$(MIDDLE_SO_TARGET) ## Versioned target for a shared library. FINAL_SO_TARGET = $(basename $(SO_TARGET)).$(SO_TARGET_VERSION) diff --git a/icu4c/source/config/mh-hpux-cc b/icu4c/source/config/mh-hpux-cc index e646562867b..4995658567c 100644 --- a/icu4c/source/config/mh-hpux-cc +++ b/icu4c/source/config/mh-hpux-cc @@ -3,7 +3,7 @@ ## Copyright (c) 1999-2000, International Business Machines Corporation and ## others. All Rights Reserved. ## -## $Id: mh-hpux-cc,v 1.23 2000/10/18 19:02:06 yves Exp $ +## $Id: mh-hpux-cc,v 1.24 2000/10/19 20:29:42 yves Exp $ ## This causes source/tools/pkgdata generated makefiles to create and link @@ -39,7 +39,7 @@ LD_RPATH_PRE= LDLIBRARYPATH_ENVVAR = SHLIB_PATH ## Compiler switch to embed a library name -LD_SONAME = +h $(MIDDLE_SO_TARGET) +LD_SONAME = -Wl,+h $-Wl,(MIDDLE_SO_TARGET) ## Versioned target for a shared library. FINAL_SO_TARGET = $(basename $(SO_TARGET)).$(SO_TARGET_VERSION)