Skip to content

Commit

Permalink
Fix fbuild platform.py, Cygwin requires .dll extension.
Browse files Browse the repository at this point in the history
Not .so...
  • Loading branch information
skaller committed Aug 25, 2015
1 parent ca77a3d commit eae1a3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fbuild/lib/fbuild/builders/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ def shared_lib_suffix(ctx, platform=None):
platform = platform if platform else guess_platform(ctx)
if 'windows' in platform:
return '.dll'
elif 'cygwin' in platform:
return '.dll'
elif 'darwin' in platform:
return '.dylib'
else:
Expand Down

0 comments on commit eae1a3d

Please sign in to comment.