Skip to content
Snippets Groups Projects
Commit f4d4e66a authored by Martin Storsjö's avatar Martin Storsjö
Browse files

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: default avatarMartin Storsjö <martin@martin.st>
parent 3e160652
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment