Skip to content

Commit

Permalink
Revert "Try removing CDLL mode"
Browse files Browse the repository at this point in the history
This reverts commit e10258a.
  • Loading branch information
kartik-s committed Dec 5, 2024
1 parent 4b63813 commit c88edcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python-bindings.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
(format stream "except TypeError as e:~%")
(format stream " raise Exception('Unable to locate ~a') from e~%~%" name)))

(format stream "~a_dll = CDLL(str(libpath))~%~%" name)
(format stream "~a_dll = CDLL(str(libpath), mode=RTLD_GLOBAL)~%~%" name)
(unless omit-init-call
(format stream "~a.init(str(libpath.parent / '~a.core').encode('utf-8'))~%~%"
name name))))
Expand Down

0 comments on commit c88edcd

Please sign in to comment.