From 35e8c02d9c64e6d15e33dfee1f13c6cb94d4108b Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Sat, 24 Sep 2016 23:41:55 +0200 Subject: ensure that headers references use nx-X11 files if existing System headers including other headers via now use the nx-X11 variant (if existing). With this patch in place we should think about dropping the namespace now for includes. Fixes ArcticaProject/nx-libs#200. --- nx-X11/include/Imakefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nx-X11/include/Imakefile b/nx-X11/include/Imakefile index 7e05f4354..8a05f9720 100644 --- a/nx-X11/include/Imakefile +++ b/nx-X11/include/Imakefile @@ -56,6 +56,12 @@ all:: BuildIncludes($(HEADERS),nx-X11,..) +includes:: + -$(RM) $(BUILDINCDIR)/X11 + -$(LN) nx-X11 $(BUILDINCDIR)/X11 + + + #if BuildLibraries InstallMultipleFlags($(HEADERS),$(INCDIR)/nx-X11,$(INSTINCFLAGS)) #endif -- cgit v1.2.3