Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
keynmol committed Nov 19, 2023
1 parent f96fbf0 commit 1b7cfd3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
PLATFORM="$(uname)"
if [ $PLATFORM == "Darwin" ]; then
echo "It's a Mac"
python3 -m pip install packaging
else
docker run -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -d postgres
docker run -e MYSQL_ROOT_PASSWORD=my-secret-pw -e MYSQL_USER=mysql -e MYSQL_PASSWORD=mysql-password -e MYSQL_DATABASE=mysql_db -p 3306:3306 -d mysql
Expand Down
7 changes: 4 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,10 @@ lazy val mysql =
nativeConfig := {

val config = nativeConfig.value
config.withLinkingOptions(config.linkingOptions.map {
case "-lresolv-lresolv" => "-lresolv"
case other => other
config.withLinkingOptions(config.linkingOptions.flatMap {
case "-lresolv-lresolv" => Some("-lresolv")
case "-lm-lresolv" => None
case other => Some(other)
})

},
Expand Down

0 comments on commit 1b7cfd3

Please sign in to comment.