summaryrefslogtreecommitdiff
path: root/hints/linux.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-10-10 17:00:40 +0300
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-10-10 11:20:19 +0000
commitc3faea48927502248be7f55e1cfb047fff817fa8 (patch)
tree14b8344249a63a5da4232f0ab451231500fcf322 /hints/linux.sh
parent1c847d4b24b4811e0a135df4f0a725e3a5ccb70b (diff)
downloadperl-c3faea48927502248be7f55e1cfb047fff817fa8.tar.gz
Linux and Solaris hints: C++ vs dlerror
Message-ID: <452B7D58.1090009@iki.fi> p4raw-id: //depot/perl@28979
Diffstat (limited to 'hints/linux.sh')
-rw-r--r--hints/linux.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index 7fc151d92e..24151361ce 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -364,3 +364,11 @@ case "$cc" in
;;
esac
+# If using g++, the Configure scan for dlopen() and (especially)
+# dlerror() might fail, easier just to forcibly hint them in.
+case "$cc" in
+*g++*)
+ d_dlopen='define'
+ d_dlerror='define'
+ ;;
+esac