Skip to content
Snippets Groups Projects
Verified Commit 4e7387dc authored by FARGES Olivier's avatar FARGES Olivier
Browse files

debug star-enclosures-3d

parent 64850fcf
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,15 @@
#:phases
(modify-phases %standard-phases
(delete 'configure)
(delete 'check)
(delete 'check)
(add-before 'build 'set-pkg-config-path
(lambda* (#:key inputs #:allow-other-keys)
(let ((pkgconfig-path (string-append (assoc-ref inputs "star-3d") "/lib/pkgconfig")))
(setenv "PKG_CONFIG_PATH" (string-append pkgconfig-path ":" (or (getenv "PKG_CONFIG_PATH") "")))
(format #t "DEBUG: PKG_CONFIG_PATH set to: ~a~%" (getenv "PKG_CONFIG_PATH"))
(invoke "ls" "-l" pkgconfig-path) ;; Affiche les fichiers dans pkgconfig
(invoke "pkg-config" "--modversion" "s3d") ;; Vérifie que pkg-config fonctionne bien dans l'environnement
))))
(replace 'build
(lambda* (#:key make-flags #:allow-other-keys)
(invoke "make" (string-join make-flags " "))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment