aboutsummaryrefslogtreecommitdiff
path: root/ltcf-cxx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ltcf-cxx.sh')
-rw-r--r--ltcf-cxx.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh
index cefa0085624..fbcf248faa7 100644
--- a/ltcf-cxx.sh
+++ b/ltcf-cxx.sh
@@ -167,11 +167,15 @@ case "$host_os" in
;;
esac
;;
- freebsd*)
- # FreeBSD uses GNU C++ and GNU ld
- # FIXME: insert proper C++ library support
+ freebsd[12]*)
+ # C++ shared libraries reported to be fairly broken before switch to ELF
ld_shlibs=no
;;
+ freebsd*)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ ld_shlibs=yes
+ ;;
hpux*)
case "$cc_basename" in
CC)