aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-12-12 11:31:46 +0100
committerPierre Ossman <ossman@cendio.se>2014-12-12 11:31:46 +0100
commitbe2d450f40908d327e6dbe23aa461af18f87a005 (patch)
tree54d5cae296d0084ab0f0025d448601f2adf14b69
parente4d9726c19d132cdb8794c51562e634fa3581d06 (diff)
downloadtigervnc-be2d450f40908d327e6dbe23aa461af18f87a005.tar.gz
tigervnc-be2d450f40908d327e6dbe23aa461af18f87a005.zip
Band aid to work around inluding C headers in C++ code
-rw-r--r--unix/xserver/hw/vnc/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/xserver/hw/vnc/Makefile.am b/unix/xserver/hw/vnc/Makefile.am
index 9885b8a3..372a57f5 100644
--- a/unix/xserver/hw/vnc/Makefile.am
+++ b/unix/xserver/hw/vnc/Makefile.am
@@ -7,6 +7,9 @@ NETWORK_LIB=$(LIB_DIR)/network/libnetwork.la
XREGION_LIB=$(LIB_DIR)/Xregion/libXregion.la
COMMON_LIBS=$(NETWORK_LIB) $(RFB_LIB) $(RDR_LIB) $(XREGION_LIB)
+# Hack to get the C headers to work when included from C++ code
+AM_CXXFLAGS = -fpermissive
+
noinst_LTLIBRARIES = libvnccommon.la
HDRS = RegionHelper.h vncExtInit.h vncHooks.h XserverDesktop.h xorg-version.h \