Makefile: space(s) following target name will break build (during link) #3062

This commit is contained in:
Alex Fabijanic 2022-06-18 05:46:39 +02:00
parent 34c4d7c4a2
commit c97d57017c
4 changed files with 16 additions and 0 deletions

View File

@ -20,6 +20,10 @@ DYLIB = $(SHLIB)
DYLIBFLAGS = $(SHLIBFLAGS)
endif
target := $(strip $(target))
target_version := $(strip $(target_version))
target_libs := $(strip $(target_libs))
DYLIB_DEBUG = $(BINPATH)/$(target)d$(OSARCH_POSTFIX)$(SHL_EXT)
DYLIB_RELEASE = $(BINPATH)/$(target)$(OSARCH_POSTFIX)$(SHL_EXT)
DYLIB_S_DEBUG = $(BINPATH)/static/$(target)d$(OSARCH_POSTFIX)$(SHL_EXT)

View File

@ -4,6 +4,10 @@
# Rule definitions for building executables
#
target := $(strip $(target))
target_version := $(strip $(target_version))
target_libs := $(strip $(target_libs))
#
# Target names
#

View File

@ -13,6 +13,10 @@
# POCO_TARGET_OSARCH: Target system architecture (forr cross builds)
#
target := $(strip $(target))
target_version := $(strip $(target_version))
target_libs := $(strip $(target_libs))
#
# Check for POCO_BASE
#

View File

@ -4,6 +4,10 @@
# Rule definitions for building libraries
#
target := $(strip $(target))
target_version := $(strip $(target_version))
target_libs := $(strip $(target_libs))
#
# Target names
#