build-system/meson: Don't override LDFLAGS if already set.
* guix/build/meson-build-system.scm (configure): Test for LDFLAGS before
adding ours.
(cherry picked from commit 611c27db2a
)
This commit is contained in:
parent
f6a6a050ea
commit
538d6d025c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue