Skip to content

Commit

Permalink
bindings: fix macOS python bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Pospesel committed Feb 18, 2024
1 parent 12b39e6 commit 456b460
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/bindings/python/cgosling.py.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ libcgosling = None
os = platform.system()
if os == 'Windows': # Windows
libcgosling = CDLL('cgosling.dll')
elif os == 'Linux' or os == 'Darwin': # Linux or macOS
libcgosling = CDLL('./libcgosling.so')
elif os == 'Darwin': # macOS
libcgosling = CDLL('libcgosling.dylib')
elif os == 'Linux': # Linux
libcgosling = CDLL('libcgosling.so')

#
# Constants
Expand Down

0 comments on commit 456b460

Please sign in to comment.