X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=0d736e1b761452225f34c496cdf6d89be6c1f854;hb=ae8bf9f6f417d8d8eed10796f234367a015e837d;hp=5b5adb044357477fd8fd0017c9e5fe7ac2b62a2b;hpb=667f07d281399414ff683536a848dda71e04d561;p=ext%2Fsubsurface.git diff --git a/Makefile b/Makefile index 5b5adb0..0d736e1 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,7 @@ ifeq ($(CC), i686-w64-mingw32-gcc) LIBDIVECOMPUTERINCLUDES = `$(PKGCONFIG) --cflags libdivecomputer` LIBDIVECOMPUTERARCHIVE = `$(PKGCONFIG) --libs libdivecomputer` RESFILE = packaging/windows/subsurface.res + LDFLAGS += -Wl,-subsystem,windows else libdc-local := $(wildcard /usr/local/lib/libdivecomputer.a)