Skip to content

Commit acb7338

Browse files
committed
Only change the xcrun workaround for particular macOS versions
1 parent 2970727 commit acb7338

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

NEWS.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# xml2 1.2.4
1+
# xml2 1.2.5
2+
3+
* Fix compilation issue on macOS versions after High Sierra when not using homebrew supplied libxml2
24

3-
# xml2 1.2.3
5+
# xml2 1.2.4
46

57
* Fix potential dangling pointer with internal `asXmlChar()` function (@michaelquinn32, #287).
68

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ else
3131
# MacOS versions El Capitan and later ship a xml2-config which appends `xcrun
3232
# --show-sdk-path` to the xml2-config. So we remove it if it is present.
3333
# (https://stat.ethz.ch/pipermail/r-sig-mac/2016-September/012046.html)
34-
if [ "$OS_TYPE" = "Darwin" ] && [ "$OS_VERSION" -gt "14" ]; then
34+
if [ "$OS_TYPE" = "Darwin" ] && [ "$OS_VERSION" -gt "13" ] && [ "$OS_VERSION" -lt "17" ]; then
3535
PKGCONFIG_CFLAGS=`echo $PKGCONFIG_CFLAGS | perl -pe "s{\Q\`xcrun -show-sdk-path\`\E}{}"`
3636
PKGCONFIG_LIBS=`echo $PKGCONFIG_LIBS | perl -pe "s{\Q\`xcrun -show-sdk-path\`\E}{}"`
3737
fi

cran-comments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Release summary
22

3-
This is a patch release fixing CRAN failures
3+
This release fixes errors in the previous release on macOS versions after High Sierra
44

55
## Test environments
66

0 commit comments

Comments
 (0)