diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-12-07 15:39:32 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-12-07 15:39:32 (GMT) |
commit | ca45c7394bdcbf70fa87eb05d87bae1da3b8e181 (patch) | |
tree | 17a9042433ead225b269b899f33d4bd87ddfa292 /tools/misc | |
parent | 4da1a7de065f3c7885bc8dd0697decfbae38f0da (diff) | |
download | hdf5-ca45c7394bdcbf70fa87eb05d87bae1da3b8e181.zip hdf5-ca45c7394bdcbf70fa87eb05d87bae1da3b8e181.tar.gz hdf5-ca45c7394bdcbf70fa87eb05d87bae1da3b8e181.tar.bz2 |
[svn-r9627] Purpose:
modified h5cc to link with the high level library (libhdf5_hl)
Description:
added libhdf5_hl.a to the list of libarries to link with
Solution:
Platforms tested:
linux
Misc. update:
Diffstat (limited to 'tools/misc')
-rwxr-xr-x | tools/misc/h5cc.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/misc/h5cc.in b/tools/misc/h5cc.in index 88adcd8..e77f6d7 100755 --- a/tools/misc/h5cc.in +++ b/tools/misc/h5cc.in @@ -248,7 +248,7 @@ fi if test "x$do_link" = "xyes"; then shared_link="" - libraries=" $libraries -lhdf5 " + libraries=" $libraries -lhdf5_hl -lhdf5 " link_args="$link_args -L${libdir}" case "$kind" in @@ -272,7 +272,7 @@ if test "x$do_link" = "xyes"; then fi if test "x$USE_SHARED_LIB" != "xyes"; then - # The "-lhdf5" flag is in here already...This is a static compile, + # The "-lhdf5" & "-lhdf5_hl" flag is in here already...This is a static compile, # though, so change it to the static version (.a) of the library. new_libraries="" for lib in $libraries; do @@ -280,7 +280,10 @@ if test "x$do_link" = "xyes"; then -lhdf5) new_libraries="$new_libraries ${libdir}/libhdf5.a" ;; - *) + -lhdf5_hl) + new_libraries="$new_libraries ${libdir}/libhdf5_hl.a" + ;; + *) new_libraries="$new_libraries $lib" ;; esac |