File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -651,9 +651,11 @@ def parseopts(args):
651
651
DefSymbol ("WX" , "_UNICODE" , "" )
652
652
DefSymbol ("WX" , "UNICODE" , "" )
653
653
if (PkgSkip ("VORBIS" )== 0 ):
654
- LibName ("VORBIS" , GetThirdpartyDir () + "vorbis/lib/libogg_static.lib" )
655
- LibName ("VORBIS" , GetThirdpartyDir () + "vorbis/lib/libvorbis_static.lib" )
656
- LibName ("VORBIS" , GetThirdpartyDir () + "vorbis/lib/libvorbisfile_static.lib" )
654
+ for lib in ('ogg' , 'vorbis' , 'vorbisfile' ):
655
+ path = GetThirdpartyDir () + "vorbis/lib/lib{0}_static.lib" .format (lib )
656
+ if not os .path .isfile (path ):
657
+ path = GetThirdpartyDir () + "vorbis/lib/{0}.lib" .format (lib )
658
+ LibName ("VORBIS" , path )
657
659
for pkg in MAYAVERSIONS :
658
660
if (PkgSkip (pkg )== 0 ):
659
661
LibName (pkg , '"' + SDK [pkg ] + '/lib/Foundation.lib"' )
You can’t perform that action at this time.
0 commit comments