]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/backend-svg.ly
strip LD_LIBRARY_PATH from inkscape call.
[lilypond.git] / input / regression / backend-svg.ly
index 83f40500c575429494e1735a532ae56c0cd4e35b..39be9d428c741bacdb3f425a2dabf0962679d40d 100644 (file)
 %% 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)))