From bb567a1345749036ac1f1228c802376082abede5 Mon Sep 17 00:00:00 2001 From: Matthias Klumpp Date: Fri, 31 Oct 2025 03:44:52 +0100 Subject: [PATCH 1/2] Update GtkD version in makefile to tagged version Also, move the variables to the top, so they are easier to find & update when a new release is tagged. Resolves: #362 --- GNUmakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 30057e943..674806165 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -3,6 +3,9 @@ prefix?=/usr/local pkgconfigdir?=$(libdir)/pkgconfig PKG_CONFIG?=pkg-config +GTKD_VERSION=3.11.0 +SO_VERSION=0 + OS=$(shell uname || uname -s) ARCH=$(shell uname -m || arch) @@ -78,9 +81,6 @@ ADRDOX?=adrdox ####################################################################### -GTKD_VERSION=3.10.0 -SO_VERSION=0 - MAJOR = $(word 1,$(subst ., ,$(GTKD_VERSION))) MINOR = $(word 2,$(subst ., ,$(GTKD_VERSION))) BUGFIX = $(word 3,$(subst ., ,$(GTKD_VERSION))) From d933bed6a3bb3ac270024b2d38cf3920dcff8228 Mon Sep 17 00:00:00 2001 From: Matthias Klumpp Date: Fri, 31 Oct 2025 03:50:15 +0100 Subject: [PATCH 2/2] Fix GDC linker flags in makefile Using the -Wl, flag is much closed to what LDC uses as -L, so it will work better here. The LINKERFLAG can not be empty for GDC, currently. --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 674806165..13e567ffc 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -37,7 +37,7 @@ all: libs shared-libs test ifeq ("$(DC)","gdc") DCFLAGS?=-O2 - LINKERFLAG?= + LINKERFLAG?=-Wl, DDOCFLAGS=-fsyntax-only -c -fdoc -fdoc-file=$@ DDOCINC=-fdoc-inc= output=-o $@