diff options
author | James Laird <jlaird@hdfgroup.org> | 2006-02-27 18:27:46 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2006-02-27 18:27:46 (GMT) |
commit | 4e52b48c21341d94c277a057ea7802e8f8e5bd9e (patch) | |
tree | f6632258bf9be955be47a7489299a841ef8a7933 /c++/src | |
parent | 2b01a50b4b1b02f2aeb3ae06623cc61b2fe04b6c (diff) | |
download | hdf5-4e52b48c21341d94c277a057ea7802e8f8e5bd9e.zip hdf5-4e52b48c21341d94c277a057ea7802e8f8e5bd9e.tar.gz hdf5-4e52b48c21341d94c277a057ea7802e8f8e5bd9e.tar.bz2 |
[svn-r11969] Purpose:
Bug fix
Description:
Trying to use h5c++ to link against the high-level library failed.
Solution:
Firstly, the libraries were listed in the wrong order on the linking
line in h5c++.in.
Secondly, in the 1.6 branch the C++ interface has its own configure
script which didn't know whether the high-level library was enabled
or disabled, so when h5c++ tests whether the HL interface is being built,
the test always fails.
Both of these problems were fixed (by reordering the libraries and
adding a test for --enable-hl to c++/configure.in).
Platforms tested:
mir, shanti, copper
Diffstat (limited to 'c++/src')
-rwxr-xr-x | c++/src/h5c++.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/h5c++.in b/c++/src/h5c++.in index 1840724..aa0cb1d 100755 --- a/c++/src/h5c++.in +++ b/c++/src/h5c++.in @@ -241,7 +241,7 @@ fi if test "x$do_link" = "xyes"; then # conditionnaly link with the hl library if test "X$HL" = "Xhl"; then - link_args="$link_args ${libdir}/libhdf5_cpp.a ${libdir}/libhdf5.a ${libdir}/libhdf5_hl.a $LIBS" + link_args="$link_args ${libdir}/libhdf5_hl.a ${libdir}/libhdf5_cpp.a ${libdir}/libhdf5.a $LIBS" else link_args="$link_args ${libdir}/libhdf5_cpp.a ${libdir}/libhdf5.a $LIBS" fi |