From 7de24e9c64fd49ca82fc8fc601f5f3cf35afc4cd Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Sat, 20 Mar 1999 19:05:05 +0000 Subject: [PATCH] applied Kartik Subbarao's patch for HPUX linking --- layout/build/Makefile.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/layout/build/Makefile.in b/layout/build/Makefile.in index 68030c4be631..5a4146fdbdab 100644 --- a/layout/build/Makefile.in +++ b/layout/build/Makefile.in @@ -59,12 +59,26 @@ SHARED_LIBRARY_LIBS = \ $(DIST)/lib/libraptorxulbase_s.a \ $(NULL) +ifeq ($(OS_ARCH),HP-UX) +EXTRA_DSO_LDOPTS = -c objs/objslist +else EXTRA_DSO_LDOPTS = \ $(MKSHLIB_FORCE_ALL) \ $(SHARED_LIBRARY_LIBS) \ $(MKSHLIB_UNFORCE_ALL) \ $(NULL) +endif include $(topsrcdir)/config/rules.mk +ifeq ($(OS_ARCH),HP-UX) +shared_library_objs: $(SHARED_LIBRARY_LIBS) + rm -rf objs + mkdir objs + (cd objs; for lib in $(SHARED_LIBRARY_LIBS); do ar xv ../$$lib; done) \ + | awk '{ print "objs/"$$3 }' > objs/objslist + +$(SHARED_LIBRARY): shared_library_objs Makefile +else $(SHARED_LIBRARY): $(SHARED_LIBRARY_LIBS) Makefile +endif