Avoid versioning problems by just always rebuilding the native library
This commit is contained in:
parent
0f9cc06dff
commit
2770248a09
|
@ -16,7 +16,7 @@
|
||||||
(system-library-subpath)))
|
(system-library-subpath)))
|
||||||
(define shared-object-target (build-path shared-object-target-path
|
(define shared-object-target (build-path shared-object-target-path
|
||||||
(append-extension-suffix "tty-raw-extension")))
|
(append-extension-suffix "tty-raw-extension")))
|
||||||
(when (not (file-exists? shared-object-target))
|
(when (file-exists? shared-object-target) (delete-file shared-object-target))
|
||||||
(define c-source (build-path private-path "tty-raw-extension.c"))
|
(define c-source (build-path private-path "tty-raw-extension.c"))
|
||||||
(define object (build-path shared-object-target-path "tty-raw-extension.o"))
|
(define object (build-path shared-object-target-path "tty-raw-extension.o"))
|
||||||
(make-directory* shared-object-target-path)
|
(make-directory* shared-object-target-path)
|
||||||
|
@ -26,4 +26,4 @@
|
||||||
'())
|
'())
|
||||||
(link-extension #f ;; not quiet
|
(link-extension #f ;; not quiet
|
||||||
(list object)
|
(list object)
|
||||||
shared-object-target))))
|
shared-object-target)))
|
||||||
|
|
Loading…
Reference in New Issue