From: Martin Ling Date: Fri, 6 Dec 2013 01:42:04 +0000 (+0000) Subject: Fix hardcoded home directory (pass -DHOME=$HOME to makensis). X-Git-Tag: pulseview-0.2.0~193 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=935cef6f47d4e0c844a0103536ddac638dc5f465;ds=sidebyside Fix hardcoded home directory (pass -DHOME=$HOME to makensis). --- diff --git a/contrib/pulseview_cross.nsi b/contrib/pulseview_cross.nsi index e2368303..8d8f6021 100644 --- a/contrib/pulseview_cross.nsi +++ b/contrib/pulseview_cross.nsi @@ -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. -# 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). -# 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 ---------------------------------------------------------------