build-system/meson: Don't override LDFLAGS if already set.
* guix/build/meson-build-system.scm (configure): Test for LDFLAGS before adding ours.master
parent
68ab0ad58b
commit
611c27db2a
|
@ -53,7 +53,8 @@
|
|||
;; * <https://github.com/mesonbuild/meson/issues/314>
|
||||
;; * <https://github.com/mesonbuild/meson/issues/3038>
|
||||
;; * <https://github.com/NixOS/nixpkgs/issues/31222>
|
||||
(setenv "LDFLAGS" (string-append "-Wl,-rpath=" out "/lib"))
|
||||
(unless (getenv "LDFLAGS")
|
||||
(setenv "LDFLAGS" (string-append "-Wl,-rpath=" out "/lib")))
|
||||
|
||||
(mkdir build-dir)
|
||||
(chdir build-dir)
|
||||
|
|
Reference in New Issue