Skip to content

Commit

Permalink
Set macOS deployment target to default (10.10.0)
Browse files Browse the repository at this point in the history
The build breaks with 10.9.0 (error: 'faccessat' is only available on macOS 10.10 or newer)
  • Loading branch information
bblanchon committed Sep 8, 2020
1 parent 50ae0b9 commit 00c1896
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ cp "$PDFium_ARGS" "$PDFium_BUILD_DIR/args.gn"
[ "$CONFIGURATION" == "Release" ] && echo 'is_debug=false' >> "$PDFium_BUILD_DIR/args.gn"
[ "$PDFium_V8" == "enabled" ] && echo 'pdf_enable_v8=true' >> "$PDFium_BUILD_DIR/args.gn"
[ "$PDFium_V8" == "enabled" ] && echo 'pdf_enable_xfa=true' >> "$PDFium_BUILD_DIR/args.gn"
[ "$OS" == "darwin" ] && echo 'mac_deployment_target = "10.9.0"' >> "$PDFium_BUILD_DIR/args.gn"

# Generate Ninja files
gn gen "$PDFium_BUILD_DIR"
Expand Down

0 comments on commit 00c1896

Please sign in to comment.