diff --git a/index/gn/gnat_native/gnat_native-14.1.3.toml b/index/gn/gnat_native/gnat_native-14.1.3.toml index 1d2851b7..5dd68368 100644 --- a/index/gn/gnat_native/gnat_native-14.1.3.toml +++ b/index/gn/gnat_native/gnat_native-14.1.3.toml @@ -12,8 +12,23 @@ auto-gpr-with = false [configuration] disabled = true -[environment] +[environment."case(os)".linux."case(host-arch)".x86-64] PATH.prepend = "${CRATE_ROOT}/bin" +LIBRARY_PATH.prepend = "${CRATE_ROOT}/lib64" +LD_LIBRARY_PATH.prepend = "${CRATE_ROOT}/lib64" +LD_RUN_PATH.prepend = "${CRATE_ROOT}/lib64" + +[environment."case(os)".windows."case(host-arch)".x86-64] +PATH.prepend = "${CRATE_ROOT}/bin" +LIBRARY_PATH.prepend = "${CRATE_ROOT}/lib" +LD_LIBRARY_PATH.prepend = "${CRATE_ROOT}/lib" +LD_RUN_PATH.prepend = "${CRATE_ROOT}/lib" + +[environment."case(os)".macos."case(host-arch)".x86-64] +PATH.prepend = "${CRATE_ROOT}/bin" +LIBRARY_PATH.prepend = "${CRATE_ROOT}/lib" +LD_LIBRARY_PATH.prepend = "${CRATE_ROOT}/lib" +LD_RUN_PATH.prepend = "${CRATE_ROOT}/lib" [origin."case(os)".linux."case(host-arch)".x86-64] binary = true