More fixups for mingw32

This commit is contained in:
pancake 2014-09-01 15:29:02 +02:00
parent 734d22f214
commit 0178d0a4ed
3 changed files with 4 additions and 3 deletions

View File

@ -22,7 +22,7 @@ TAR=bsdtar cvf
TAREXT=tar.gz
CZ=gzip -f
endif
PWD=$(shell pwd)
PWD=$(shell pwd | sed -e 's,^/c/,/,')
all: plugins.cfg
${MAKE} -C shlr/zip

View File

@ -7,7 +7,7 @@ PREFIX?=${PWD}/../prefix
PFX=$(call rmdblslash,${DESTDIR}/${PREFIX})
LFX=$(call rmdblslash,${DESTDIR}/${LIBDIR})
IFX=$(call rmdblslash,${DESTDIR}/${INCLUDEDIR})
PWD=$(call rmdblslash,$(shell pwd))
PWD=$(call rmdblslash,$(shell pwd |sed -e 's,^/c/,/,'))
LIBS0=util hash
LIBS1=reg cons db magic diff bp search config socket

View File

@ -21,7 +21,8 @@ install: ${F_SDB}
mkdir -p "${OPDIR}"
cp -f *.sdb "${OPDIR}"
CWD=$(shell pwd)
#that sed is a workaround for mingw's pwd
CWD=$(shell pwd | sed -e 's,^/c/,/,')
symstall install-symlink: ${F_SDB}
mkdir -p "${OPDIR}"
for a in *.sdb ; do ln -fs "${CWD}/$$a" "${OPDIR}/$$a" ; done