Skip to content

Commit

Permalink
Merge pull request #4 from skolemlabs/fix/fPIC
Browse files Browse the repository at this point in the history
fix: add -fPIC to cflags
  • Loading branch information
avidhacker authored Dec 5, 2021
2 parents e1ab715 + 2690e01 commit 3d6d252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/discover.ml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ let mysql_config_path =

let c_flags =
match execute_with_output (mysql_config_path ^ " --cflags") with
| Some str -> String.split_on_char ' ' str
| Some str -> (String.split_on_char ' ' str) @ ["-fPIC"]
| None -> []

let libs =
Expand Down

0 comments on commit 3d6d252

Please sign in to comment.