Skip to content

Commit

Permalink
Correction of pkg-config compile script. (#974)
Browse files Browse the repository at this point in the history
* Correction of pkg-config compile script.

* Reword note.
  • Loading branch information
byrnHDF authored Sep 7, 2021
1 parent 216f5ba commit 163d40d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/cmake/libh5cc.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ printf 'dir is %s\n' "$dir"

export PKG_CONFIG_PATH=$dir/lib/pkgconfig

@_PKG_CONFIG_COMPILER@ `pkg-config --define-variable=prefix=$dir --cflags --libs @_PKG_CONFIG_LIBNAME@` $@
@_PKG_CONFIG_COMPILER@ $@ `pkg-config --define-variable=prefix=$dir --cflags --libs @_PKG_CONFIG_LIBNAME@`
8 changes: 8 additions & 0 deletions release_docs/RELEASE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1122,6 +1122,14 @@ Bug Fixes since HDF5-1.12.0 release

Configuration
-------------
- Corrected pkg-config compile script

It was discovered that the position of the "$@" argument for the command
in the compile script may fail on some platforms and configurations. The
position of the "$@"command argument was moved before the pkg-config sub command.

(ADB - 2021/08/30)

- Fixed CMake C++ compiler flags

A recent refactoring of the C++ configure files accidently removed the
Expand Down

0 comments on commit 163d40d

Please sign in to comment.