From 2951994bca38d54de846bcb23b68702fa39aded8 Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Sun, 20 Mar 2022 16:22:21 -0700 Subject: [PATCH] Linux needs strlcpy() defined in xpdev --- src/build/Common.gmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/build/Common.gmake b/src/build/Common.gmake index 3647ce4263..60153e4149 100644 --- a/src/build/Common.gmake +++ b/src/build/Common.gmake @@ -331,6 +331,9 @@ ifeq ($(os),darwin) CFLAGS += -mmacosx-version-min=$(MIN_MAC_OSX_VERSION) LDFLAGS += -mmacosx-version-min=$(MIN_MAC_OSX_VERSION) endif +ifeq ($(os),linux) # Linux + CFLAGS += -DNEEDS_STRLCPY +endif # PThread-specific flags ifeq ($(os),linux) # Linux -- GitLab