summaryrefslogtreecommitdiffstats
path: root/c++/src
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-11-01 17:41:48 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-11-01 17:41:48 (GMT)
commite6930a615e3f099872b72db6d86bbd174870c3bb (patch)
tree3e67ce2ac2c6bea4a78666f190afb5bab45f9496 /c++/src
parent0cc4fba8b74dafa5ba464c56fa5ca2afac9e663b (diff)
downloadhdf5-e6930a615e3f099872b72db6d86bbd174870c3bb.zip
hdf5-e6930a615e3f099872b72db6d86bbd174870c3bb.tar.gz
hdf5-e6930a615e3f099872b72db6d86bbd174870c3bb.tar.bz2
[svn-r11655] Purpose:
Bug fix Description: Fixed a bug when using h5fc and h5c++ with static libraries. Added high-level C++ and Fortran libraries to h5c++ and h5fc. Solution: Platforms tested: mir, heping, shanti, sleipnir
Diffstat (limited to 'c++/src')
-rwxr-xr-xc++/src/h5c++.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/c++/src/h5c++.in b/c++/src/h5c++.in
index aa436eb..2493ad0 100755
--- a/c++/src/h5c++.in
+++ b/c++/src/h5c++.in
@@ -251,7 +251,7 @@ if test "x$do_link" = "xyes"; then
shared_link=""
# conditionnaly link with the hl library
if test "X$HL" = "Xhl"; then
- libraries=" $libraries -lhdf5_cpp -lhdf5_hl -lhdf5 "
+ libraries=" $libraries -lhdf5_hl_cpp -lhdf5_cpp -lhdf5_hl -lhdf5 "
else
libraries=" $libraries -lhdf5_cpp -lhdf5 "
fi
@@ -289,6 +289,12 @@ if test "x$do_link" = "xyes"; then
-lhdf5_hl)
new_libraries="$new_libraries ${libdir}/libhdf5_hl.a"
;;
+ -lhdf5_cpp)
+ new_libraries="$new_libraries ${libdir}/libhdf5_cpp.a"
+ ;;
+ -lhdf5_hl_cpp)
+ new_libraries="$new_libraries ${libdir}/libhdf5_hl_cpp.a"
+ ;;
*)
new_libraries="$new_libraries $lib"
;;