macOS: fix TC_VERSION extraction in makefiles

This commit is contained in:
Mounir IDRASSI
2026-05-20 08:25:04 +02:00
parent 21f773cd6d
commit b97b0f2c06

View File

@@ -106,7 +106,7 @@ FUSE_LIBS = $(shell $(PKG_CONFIG) $(VC_FUSE_PACKAGE) --libs)
#------ Executable ------
export TC_VERSION := $(shell awk -F '"' '/^[[:space:]]*#define[[:space:]]+VERSION_STRING[[:space:]]*"/ { print $$2; exit }' ../Common/Tcdefs.h)
export TC_VERSION := $(shell awk -F '"' '/^[[:space:]]*\#define[[:space:]]+VERSION_STRING[[:space:]]*"/ { print $$2; exit }' ../Common/Tcdefs.h)
#------ Linux package naming ------
ifeq "$(PLATFORM)" "Linux"