Skip to content

Commit

Permalink
osx: fixup build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Apr 27, 2024
1 parent ca25096 commit b014cc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions osx/build-ruby.sh
Expand Up @@ -260,6 +260,9 @@ header "Preparing Ruby source code..."
# export CPPFLAGS="-w"
# export CXXFLAGS="-w"
# export CFLAGS="-w"
export CPPFLAGS="-Wno-error=incompatible-function-pointer-types -Wno-int-conversion"
export CXXFLAGS="-Wno-error=incompatible-function-pointer-types -Wno-int-conversion"
export CFLAGS="-Wno-error=incompatible-function-pointer-types -Wno-int-conversion"

export PATH="$RUNTIME_DIR/bin:$PATH"
export LIBRARY_PATH="$RUNTIME_DIR/lib"
Expand Down Expand Up @@ -381,6 +384,7 @@ if [[ "$GEMFILE" != "" ]]; then
fi

export BUNDLE_BUILD__NOKOGIRI="--with-xml2-include=$RUNTIME_DIR/include/libxml2"
export BUNDLE_BUILD__PSYCH="--with-libyaml-include=$RUNTIME_DIR/include"
export BUNDLE_BUILD__FFI="--use-system-libraries"
export BUNDLE_BUILD__MYSQL2="--with-mysql_config"
export BUNDLE_BUILD__CHARLOCK_HOLMES="--with-icu-dir=$RUNTIME_DIR"
Expand Down

0 comments on commit b014cc2

Please sign in to comment.