Skip to content

Commit

Permalink
Fix non windows
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Feb 27, 2024
1 parent 0da362c commit 48d7dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/py-sip/add_dll_directory.patch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ index 3a3b094..a551b47 100644

# Publish the public API.
+import os
+os.add_dll_directory(os.path.abspath(os.path.join(__file__, "../../../../../../bin")))
+os.add_dll_directory(os.path.abspath(os.path.join(__file__, "../../../../../../bin"))) if os.name == 'nt' else None
from .abstract_builder import AbstractBuilder
from .abstract_project import AbstractProject
from .bindings import Bindings

0 comments on commit 48d7dc2

Please sign in to comment.