summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--EmulatorPkg/Unix/Host/Host.inf2
l---------EmulatorPkg/Unix/Host/X11IncludeHack1
2 files changed, 2 insertions, 1 deletions
diff --git a/EmulatorPkg/Unix/Host/Host.inf b/EmulatorPkg/Unix/Host/Host.inf
index dee2e0df23..d0b4927d16 100644
--- a/EmulatorPkg/Unix/Host/Host.inf
+++ b/EmulatorPkg/Unix/Host/Host.inf
@@ -145,4 +145,4 @@
XCODE:*_*_X64_DLINK_PATH == gcc
XCODE:*_*_X64_DLINK_FLAGS == -o $(BIN_DIR)/Host -L/usr/X11R6/lib -lXext -lX11 -framework Carbon
XCODE:*_*_X64_ASM_FLAGS == -g
-
+ XCODE:*_*_X64_CC_FLAGS = -I$(WORKSPACE)/EmulatorPkg/Unix/Host/X11IncludeHack
diff --git a/EmulatorPkg/Unix/Host/X11IncludeHack b/EmulatorPkg/Unix/Host/X11IncludeHack
new file mode 120000
index 0000000000..f7ab103f69
--- /dev/null
+++ b/EmulatorPkg/Unix/Host/X11IncludeHack
@@ -0,0 +1 @@
+/opt/X11/include \ No newline at end of file