From 5a3cad030eb8f1fb26de2306aaa0fdd4ea8a66a0 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Sat, 24 Mar 2007 02:07:35 -0300 Subject: [PATCH] strip LD_LIBRARY_PATH from inkscape call. --- input/regression/backend-svg.ly | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/input/regression/backend-svg.ly b/input/regression/backend-svg.ly index 83f40500c5..39be9d428c 100644 --- a/input/regression/backend-svg.ly +++ b/input/regression/backend-svg.ly @@ -14,8 +14,10 @@ %% TODO: what to do if inkscape fails? #(display "Invoking inkscape...\n") -%% LD_LIBRARY_PATH is necesssary, otherwise, it doesn't build in GUB. -#(ly:system (format #f "inkscape -T -E ~a-inkscape.eps ~a-1.svg" outname outname) +%% LD_LIBRARY_PATH is necesssary, otherwise, it doesn't build in GUB. +%% LD_LIBRARY_PATH is part of the start-environment but should be switched off +%% for external inkscape. +#(ly:system (format #f "LD_LIBRARY_PATH= inkscape -T -E ~a-inkscape.eps ~a-1.svg" outname outname) (cons (format #f "FONTCONFIG_FILE=~a/fonts/fonts.conf" (ly:effective-prefix)) (ly:start-environment))) -- 2.39.2