From 935cef6f47d4e0c844a0103536ddac638dc5f465 Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Fri, 6 Dec 2013 01:42:04 +0000 Subject: [PATCH] Fix hardcoded home directory (pass -DHOME=$HOME to makensis). --- contrib/pulseview_cross.nsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 --------------------------------------------------------------- -- 2.30.2