configure: Remap -L to -libpath for msvc

This allows using libraries that are detected via pkg-config with
msvc. (The libraries themselves may have to be built with MSVC
though.)

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/101/head
Martin Storsjö 10 years ago
parent 3e16065221
commit f4d4e66a24
  1. 1
      configure

1
configure vendored

@ -2702,6 +2702,7 @@ msvc_common_flags(){
-lavifil32) echo vfw32.lib ;;
-lavicap32) echo vfw32.lib user32.lib ;;
-l*) echo ${flag#-l}.lib ;;
-L*) echo -libpath:${flag#-L} ;;
*) echo $flag ;;
esac
done

Loading…
Cancel
Save