Skip to content

Commit

Permalink
Discover: add -fPIC to cflags
Browse files Browse the repository at this point in the history
  • Loading branch information
zbaylin committed Dec 5, 2021
1 parent e1ab715 commit 2690e01
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 2690e01

Please sign in to comment.