Merge commit '3965d404ccd9b6cac95c4aee6cb668845031b685'
* commit '3965d404ccd9b6cac95c4aee6cb668845031b685': configure: Don't add -fPIC on windows targets Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
529ebc90f2
8
configure
vendored
8
configure
vendored
@ -3716,7 +3716,13 @@ enable_weak_pic() {
|
|||||||
disabled pic && return
|
disabled pic && return
|
||||||
enable pic
|
enable pic
|
||||||
add_cppflags -DPIC
|
add_cppflags -DPIC
|
||||||
add_cflags -fPIC
|
case "$target_os" in
|
||||||
|
mingw*|cygwin*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
add_cflags -fPIC
|
||||||
|
;;
|
||||||
|
esac
|
||||||
add_asflags -fPIC
|
add_asflags -fPIC
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user