Skip to content

Commit

Permalink
Add libraries needed for SHGetFolderPathA
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Jun 14, 2017
1 parent b8b173f commit de84d83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ def get_module():
)
if platform.system() == 'Windows':
libs.append('Advapi32')
libs.append('shfolder')
libs.append('shell32')
ldflags = '/LIBPATH:{0}'.format(
os.path.join(path, 'lib')
)
Expand Down

0 comments on commit de84d83

Please sign in to comment.