summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2010-02-20 14:30:46 +0100
committerSamuel Lidén Borell <samuel@slbdata.se>2010-02-20 14:41:22 +0100
commit3ec8ef7f8b01bf1045fe5f4dcb4de2f75dd91658 (patch)
treeee64db7d3b8e7e58efd0c3c73618aea373fb828e /plugin
parent3e95ab256185edd4b05e1325a3422102b0067a08 (diff)
downloadfribid-3ec8ef7f8b01bf1045fe5f4dcb4de2f75dd91658.tar.gz
fribid-3ec8ef7f8b01bf1045fe5f4dcb4de2f75dd91658.tar.bz2
fribid-3ec8ef7f8b01bf1045fe5f4dcb4de2f75dd91658.zip
Call pkg-config to get the X11 includes on OpenBSD
The include files for X11 are located in the /usr/X11R6/include/ directory on OpenBSD. Thanks to Markus Bergkvist for discovering this problem.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/Makefile b/plugin/Makefile
index 577a01d..65976ca 100644
--- a/plugin/Makefile
+++ b/plugin/Makefile
@@ -22,7 +22,7 @@
CFLAGS ?= -O2 -g
COMMONCFLAGS=$(CFLAGS) -Wall -Wextra -std=c99 -pedantic -Wno-unused-parameter
-CCFLAGS=$(COMMONCFLAGS) -I../npapi -fPIC -fvisibility=hidden `pkg-config --cflags glib-2.0` -DG_DISABLE_DEPRECATED=1
+CCFLAGS=$(COMMONCFLAGS) -I../npapi -fPIC -fvisibility=hidden `pkg-config --cflags glib-2.0 x11` -DG_DISABLE_DEPRECATED=1
LINKFLAGS=$(CFLAGS) $(LDFLAGS) -Wl,-z,defs,-soname,libfribidplugin.so
LIBS=-lc `pkg-config --libs glib-2.0`