]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Windows stuff
authorJérémie Astor <fennecdjay@gmail.com>
Tue, 1 Dec 2020 12:26:30 +0000 (13:26 +0100)
committerJérémie Astor <fennecdjay@gmail.com>
Tue, 1 Dec 2020 12:26:30 +0000 (13:26 +0100)
tests/plug/Makefile

index 6327be109b2d50a47204af7b4f5e22d2999752e3..93ba7f814c05bb8c2a9671ffe1362108d7c77001 100644 (file)
@@ -13,6 +13,7 @@ else
 ifeq ($(shell uname), Linux)
 LDFLAGS += -shared
 else
+CFLAGS += -DBUILD_ON_WINDOWS=1
 LDFLAGS += -shared -lpsapi -fPIC -Wl,--export-all -Wl,--enable-auto-import
 LDFLAGS += -L../../ -lgwion
 LDLAGS += ../../libgwion.dll.a