]> sigrok.org Git - sigrok-cli.git/commitdiff
Fix hardcoded home directory (pass -DHOME=$HOME to makensis).
authorMartin Ling <redacted>
Fri, 6 Dec 2013 01:39:50 +0000 (01:39 +0000)
committerUwe Hermann <redacted>
Sat, 7 Dec 2013 12:42:40 +0000 (13:42 +0100)
contrib/sigrok-cli_cross.nsi.in

index c68572800e2a43e989ed7f57dfaf6259630e26e4..5ea9bb56726ea53d2e95614fe80f49eb2f1ec18a 100644 (file)
@@ -78,13 +78,11 @@ RequestExecutionLevel admin
 
 # Path where the cross-compiled sigrok tools and libraries are located.
 # Change this to where-ever you installed libsigrok.a and so on.
 
 # Path where the cross-compiled sigrok tools and libraries are located.
 # Change this to where-ever you installed libsigrok.a and so on.
-# TODO: Figure out how to use $HOME (of the host that runs "makensis").
-!define CROSS "/home/uwe/sr_mingw"
+!define CROSS "$%HOME%/sr_mingw"
 
 # Path where the cross-compiled MXE tools and libraries are located.
 # Change this to where-ever you installed MXE (and the files it built).
 
 # Path where the cross-compiled MXE tools and libraries are located.
 # Change this to where-ever you installed MXE (and the files it built).
-# TODO: Figure out how to use $HOME (of the host that runs "makensis").
-!define MXE "/home/uwe/mxe-git/usr/i686-pc-mingw32"
+!define MXE "$%HOME%/mxe-git/usr/i686-pc-mingw32"
 
 
 # --- MUI pages ---------------------------------------------------------------
 
 
 # --- MUI pages ---------------------------------------------------------------