Skip to content

Commit

Permalink
refactor(bin/cflags.sh): use 'fPIC' on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Sep 29, 2023
1 parent 4852089 commit 252ecb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/cflags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ fi
if (( !TARGET_OS_ANDROID && !TARGET_ANDROID_EMULATOR )); then
if [[ "$host" = "Darwin" ]]; then
cflags+=("-ObjC++")
cflags+=("-fPIC")
elif [[ "$host" = "Linux" ]]; then
cflags+=($(pkg-config --cflags --static gtk+-3.0 webkit2gtk-4.1) -fPIC)
elif [[ "$host" = "Win32" ]]; then
Expand Down

0 comments on commit 252ecb6

Please sign in to comment.