diff options
author | Tom Vander Aa <Tom.VanderAa@gmail.com> | 2023-11-08 22:33:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-08 22:33:09 +0100 |
commit | c35250b3130ccf80e55f36564ccbd06b5d9b12e3 (patch) | |
tree | 3cff354b37ba6a1224988b7f863152229727527d /bin/spack.bat | |
parent | e11485311530b849c8f401092038c48c9a5f9eb7 (diff) | |
download | spack-c35250b3130ccf80e55f36564ccbd06b5d9b12e3.tar.gz spack-c35250b3130ccf80e55f36564ccbd06b5d9b12e3.tar.bz2 spack-c35250b3130ccf80e55f36564ccbd06b5d9b12e3.tar.xz spack-c35250b3130ccf80e55f36564ccbd06b5d9b12e3.zip |
libevent: always autogen.sh (#40945)
The libevent release tarballs ship with a `configure` script generated by an old `libtool`. The `libtool` generated by `configure` is not compatible with `MACOSX_DEPLOYMENT_VERSION` > 10. Regeneration of the `configure` scripts fixes build on macOS.
Original configure contains:
```
case $host_os in
rhapsody* | darwin1.[012])
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
darwin1.*)
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
darwin*) # darwin 5.x on
# if running on 10.5 or later, the deployment target defaults
# to the OS version, if on x86, and 10.4, the deployment
# target defaults to 10.4. Don't you love it?
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10.[012][,.]*)
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
esac
```
After re-running `autogen.sh`:
```
case $host_os in
rhapsody* | darwin1.[012])
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
darwin1.*)
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
darwin*)
case $MACOSX_DEPLOYMENT_TARGET,$host in
10.[012],*|,*powerpc*-darwin[5-8]*)
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
*)
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
esac
```
Diffstat (limited to 'bin/spack.bat')
0 files changed, 0 insertions, 0 deletions