From 9d25bd11ca121cfc76e5bf31c265e72956208598 Mon Sep 17 00:00:00 2001 From: Rob Boehne Date: Wed, 6 Dec 2017 11:58:17 -0600 Subject: [PATCH] Modify configure to link with the compiler driver under HP-UX when not using gcc. (#2519) --- configure | 3 ++- configure.ac | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure b/configure index d02675742d2..20d8095c252 100755 --- a/configure +++ b/configure @@ -9124,7 +9124,8 @@ then LDSHARED='$(CC) -shared' LDCXXSHARED='$(CXX) -shared' else - LDSHARED='ld -b' + LDSHARED='$(CC) -b' + LDCXXSHARED='$(CXX) -shared' fi ;; Darwin/1.3*) LDSHARED='$(CC) -bundle' diff --git a/configure.ac b/configure.ac index 68a95c3be6a..828dadb56c4 100644 --- a/configure.ac +++ b/configure.ac @@ -2442,7 +2442,8 @@ then LDSHARED='$(CC) -shared' LDCXXSHARED='$(CXX) -shared' else - LDSHARED='ld -b' + LDSHARED='$(CC) -b' + LDCXXSHARED='$(CXX) -b' fi ;; Darwin/1.3*) LDSHARED='$(CC) -bundle'