Skip to content

Commit 9d25bd1

Browse files
datalogics-robbambv
authored andcommitted
Modify configure to link with the compiler driver under HP-UX when not using gcc. (#2519)
1 parent bd4ed77 commit 9d25bd1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

configure

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9124,7 +9124,8 @@ then
91249124
LDSHARED='$(CC) -shared'
91259125
LDCXXSHARED='$(CXX) -shared'
91269126
else
9127-
LDSHARED='ld -b'
9127+
LDSHARED='$(CC) -b'
9128+
LDCXXSHARED='$(CXX) -shared'
91289129
fi ;;
91299130
Darwin/1.3*)
91309131
LDSHARED='$(CC) -bundle'

configure.ac

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2442,7 +2442,8 @@ then
24422442
LDSHARED='$(CC) -shared'
24432443
LDCXXSHARED='$(CXX) -shared'
24442444
else
2445-
LDSHARED='ld -b'
2445+
LDSHARED='$(CC) -b'
2446+
LDCXXSHARED='$(CXX) -b'
24462447
fi ;;
24472448
Darwin/1.3*)
24482449
LDSHARED='$(CC) -bundle'

0 commit comments

Comments
 (0)