diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-12-13 18:20:41 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-12-13 18:20:41 +0100 |
commit | d0c88731ee46ac3bded456684365546ac82a4ce6 (patch) | |
tree | 79367a9ddfa87fb33387c065042da3e69b62e2d7 | |
parent | 4dbd72f8564a2d8cc7f5a367358f0be96de3e639 (diff) |
zig: fix native-search-paths
-rw-r--r-- | zig.scm | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -75,6 +75,17 @@ ;; Zig compiles fine with GCC, but also needs native LLVM libraries. (native-inputs (list llvm-16)) + (native-search-paths + (list + (search-path-specification + (variable "C_INCLUDE_PATH") + (files '("include"))) + (search-path-specification + (variable "CPLUS_INCLUDE_PATH") + (files '("include/c++" "include"))) + (search-path-specification + (variable "LIBRARY_PATH") + (files '("lib" "lib64"))))) (synopsis "General purpose programming language and toolchain") (description "Zig is a general-purpose programming language and toolchain. Among other features it provides @@ -154,6 +165,17 @@ toolchain. Among other features it provides ;; Zig compiles fine with GCC, but also needs native LLVM libraries. (native-inputs (list llvm-17)) + (native-search-paths + (list + (search-path-specification + (variable "C_INCLUDE_PATH") + (files '("include"))) + (search-path-specification + (variable "CPLUS_INCLUDE_PATH") + (files '("include/c++" "include"))) + (search-path-specification + (variable "LIBRARY_PATH") + (files '("lib" "lib64"))))) (synopsis "General purpose programming language and toolchain") (description "Zig is a general-purpose programming language and toolchain. Among other features it provides |