Skip to content

Commit

Permalink
Better workaround for OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Dec 9, 2017
1 parent 4871049 commit a7cca66
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ if [ $(command -v pkg-config) ]; then
PKGCONFIG_MODVERSION=$(pkg-config --modversion --silence-errors ${PKG_CONFIG_NAME})

# MacOS seems to ship a broken libpq.pc file
if [[ "$PKGCONFIG_CFLAGS" == *"Internal.sdk"* ]] || [ -d "/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon" ]; then
unset PKGCONFIG_CFLAGS
unset PKGCONFIG_LIBS
if [[ "$OSTYPE" == "darwin"* ]]; then
if [[ "$PKGCONFIG_CFLAGS" == *"Internal.sdk"* ]] || [[ -z "$PKGCONFIG_CFLAGS" ]]; then
unset PKGCONFIG_CFLAGS
unset PKGCONFIG_LIBS
fi
fi
fi

Expand Down

0 comments on commit a7cca66

Please sign in to comment.