Commit 529ebc90 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '3965d404'

* commit '3965d404':
  configure: Don't add -fPIC on windows targets
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents f556f27d 3965d404
......@@ -3716,7 +3716,13 @@ enable_weak_pic() {
disabled pic && return
enable pic
add_cppflags -DPIC
add_cflags -fPIC
case "$target_os" in
mingw*|cygwin*)
;;
*)
add_cflags -fPIC
;;
esac
add_asflags -fPIC
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment