aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-09-24 23:41:55 +0200
committerUlrich Sibiller <uli42@gmx.de>2016-09-24 23:53:12 +0200
commit35e8c02d9c64e6d15e33dfee1f13c6cb94d4108b (patch)
tree5377f16782c3b945e93b2687d279839c5c062931 /nx-X11
parenta906bf0f24c540d5d17d89d5292d2bcfe7f52468 (diff)
downloadnx-libs-35e8c02d9c64e6d15e33dfee1f13c6cb94d4108b.tar.gz
nx-libs-35e8c02d9c64e6d15e33dfee1f13c6cb94d4108b.tar.bz2
nx-libs-35e8c02d9c64e6d15e33dfee1f13c6cb94d4108b.zip
ensure that <X11/..> headers references use nx-X11 files if existing
System headers including other headers via <X11/..> now use the nx-X11 variant (if existing). With this patch in place we should think about dropping the <nx-X11/..> namespace now for includes. Fixes ArcticaProject/nx-libs#200.
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/include/Imakefile6
1 files changed, 6 insertions, 0 deletions
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