mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-22 06:00:40 +01:00
defs.mk: Add -iquote . instead of -I .
force use of double quotes, allow header namespaces Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
2a53799888
commit
c949075c48
1 changed files with 8 additions and 1 deletions
|
|
@ -976,7 +976,14 @@ ifeq ($(STRIP_SYMBOLS),true)
|
||||||
STRIP_DONE ?= strip.done
|
STRIP_DONE ?= strip.done
|
||||||
endif
|
endif
|
||||||
|
|
||||||
INCLUDE += $(LOCAL_INCLUDE) -I.
|
INCLUDE += $(LOCAL_INCLUDE)
|
||||||
|
|
||||||
|
# force use of double quotes, allow header namespaces
|
||||||
|
ifeq ($(HDRDIR_SCOPE_SUFFIX),)
|
||||||
|
INCLUDE += -I.
|
||||||
|
else
|
||||||
|
INCLUDE += -iquote .
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(USE_PROJECT_LIB),true)
|
ifeq ($(USE_PROJECT_LIB),true)
|
||||||
INCLUDE += $(PROJECT_INCLUDE) -I$(TOPDIR)/include
|
INCLUDE += $(PROJECT_INCLUDE) -I$(TOPDIR)/include
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue