mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Install.sh: Do not mix pexports and ".." as noted by Nathan Buchanan.
pexports somestimes crashes in a new MSYS shell if a path, like the one to a header file, contains "..". git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15747 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
bed4c1a087
commit
12392fcb44
@ -663,12 +663,14 @@ function inst_hh() {
|
||||
smart_wget $HH_URL $DOWNLOAD_DIR
|
||||
echo "!!! When asked for an installation path, specify $HH_DIR !!!"
|
||||
$LAST_FILE
|
||||
qpushd $HH_DIR/lib
|
||||
qpushd $HH_DIR
|
||||
_HHCTRL_OCX=$(which hhctrl.ocx || true)
|
||||
[ "$_HHCTRL_OCX" ] || die "Did not find hhctrl.ocx"
|
||||
pexports -h ../include/htmlhelp.h $_HHCTRL_OCX > htmlhelp.def
|
||||
${DLLTOOL} -k -d htmlhelp.def -l libhtmlhelp.a
|
||||
mv htmlhelp.lib htmlhelp.lib.bak
|
||||
pexports -h include/htmlhelp.h $_HHCTRL_OCX > lib/htmlhelp.def
|
||||
qpushd lib
|
||||
${DLLTOOL} -k -d htmlhelp.def -l libhtmlhelp.a
|
||||
mv htmlhelp.lib htmlhelp.lib.bak
|
||||
qpopd
|
||||
qpopd
|
||||
fi
|
||||
quiet test_for_hh || die "html help workshop not installed correctly"
|
||||
|
Loading…
Reference in New Issue
Block a user