Skip to content

Commit

Permalink
More fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-s committed Sep 13, 2024
1 parent e5f2eb9 commit b6acc49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/fasl-lib.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ library and its header file."
(format stream "set(CMAKE_FIND_LIBRARY_SUFFIXES .dll ${CMAKE_FIND_LIBRARY_SUFFIXES})~%")
(format stream "find_library(BASE_LIBRARY NAMES lib~A${CMAKE_SHARED_LIBRARY_SUFFIX})~%" *base-library-name*)
(format stream "add_library(~A SHARED ~{~A~^ ~}~@{ ~A~})~%" c-name source-filenames #+win32 "${BASE_LIBRARY}")
#-linux
(format stream "set_target_properties(~A PROPERTIES PREFIX \"\")~%" c-name)
(format stream "target_link_libraries(~A PRIVATE ${BASE_LIBRARY})~%" c-name)
(format stream "install(TARGETS ~A LIBRARY RUNTIME)~%" c-name)
Expand Down
2 changes: 1 addition & 1 deletion src/python-bindings.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
(format stream "libpath = Path(\"~a\")~%~%" library-path)
(progn
(format stream "try:~%")
(format stream " libpath = Path(find_library('~a')).resolve()~%" (subseq name 3))
(format stream " libpath = Path(find_library('~a')).resolve()~%" name)
(format stream "except TypeError as e:~%")
(format stream " raise Exception('Unable to locate ~a') from e~%~%" name)))

Expand Down

0 comments on commit b6acc49

Please sign in to comment.