Bug 61649 - remove the hardcoded library information from the shared libraries
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/make_hpux_PA_RISC.mak b/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/make_hpux_PA_RISC.mak
index 39cf5e1..c1fae42 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/make_hpux_PA_RISC.mak
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/make_hpux_PA_RISC.mak
@@ -58,12 +58,12 @@
 make_swt: $(SWT_LIB)
 
 $(SWT_LIB): $(SWT_OBJS)
-	ld -b -z -o $@ $(SWT_OBJS) $(SWT_LIBS)
+	ld +nodefaultrpath -b -z -o $@ $(SWT_OBJS) $(SWT_LIBS)
 
 make_cde: $(CDE_LIB)
 
 $(CDE_LIB): $(CDE_OBJS)
-	ld -b -z -o $@ $(CDE_OBJS) $(CDE_LIBS)
+	ld +nodefaultrpath -b -z -o $@ $(CDE_OBJS) $(CDE_LIBS)
 
 clean:
 	rm -f *.sl *.o
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/make_hpux_ia64.mak b/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/make_hpux_ia64.mak
index 3fe30e8..ca33f28 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/make_hpux_ia64.mak
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/make_hpux_ia64.mak
@@ -57,12 +57,12 @@
 make_swt: $(SWT_LIB)
 
 $(SWT_LIB): $(SWT_OBJS)
-	ld -b -z -o $@ $(SWT_OBJS) $(SWT_LIBS)
+	ld +nodefaultrpath -b -z -o $@ $(SWT_OBJS) $(SWT_LIBS)
 
 make_cde: $(CDE_LIB)
 
 $(CDE_LIB): $(CDE_OBJS)
-	ld -b -z -o $@ $(CDE_OBJS) $(CDE_LIBS)
+	ld +nodefaultrpath -b -z -o $@ $(CDE_OBJS) $(CDE_LIBS)
 
 clean:
 	rm -f *.so *.o