From a67888ec556623b40f7423492c531757c240ffba Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Mon, 11 Apr 2011 14:45:06 +0200 Subject: [PATCH] Re-enable make check now that it works. --- ykpers4win.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ykpers4win.mk b/ykpers4win.mk index a9b6cb2..e1cc3ff 100644 --- a/ykpers4win.mk +++ b/ykpers4win.mk @@ -1,7 +1,13 @@ LIBYUBIKEYVERSION=1.7 YKPERSVERSION=1.5.1 -all: ykpers4win32 ykpers4win64 +all: hack-wine ykpers4win32 ykpers4win64 + +DLLS=$(HOME)/.wine/drive_c/windows/system32 +.PHONY: hack-wine +hack-wine: + test -L $(DLLS)/libyubikey-0.dll || \ + ln -sv $(PWD)/tmp/root/bin/libyubikey-0.dll $(DLLS)/ ykpers4win: rm -rf tmp && mkdir tmp && cd tmp && \ @@ -22,7 +28,7 @@ ykpers4win: zip -r ../../ykpers-$(YKPERSVERSION)-win$(ARCH).zip * ykpers4win32: - $(MAKE) -f ykpers4win.mk ykpers4win ARCH=32 HOST=i686-w64-mingw32 CHECK= + $(MAKE) -f ykpers4win.mk ykpers4win ARCH=32 HOST=i686-w64-mingw32 CHECK=check ykpers4win64: $(MAKE) -f ykpers4win.mk ykpers4win ARCH=64 HOST=x86_64-w64-mingw32 CHECK= -- 2.39.5