summaryrefslogtreecommitdiff
path: root/otk
diff options
context:
space:
mode:
Diffstat (limited to 'otk')
-rw-r--r--otk/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/otk/Makefile.am b/otk/Makefile.am
index 29b35442..dd8d45f0 100644
--- a/otk/Makefile.am
+++ b/otk/Makefile.am
@@ -2,7 +2,7 @@ buttonsdir = $(pkgdatadir)/buttons
scriptdir = $(libdir)/openbox/python
CXXFLAGS=$(XFT_CFLAGS) $(PYTHON_CFLAGS) @CXXFLAGS@ \
--DBUTTONSDIR=\"$(buttonsdir)\"
+-DBUTTONSDIR=\"$(buttonsdir)\" -DSWIG_GLOBAL
INCLUDES= -I../src
@@ -40,6 +40,6 @@ otk.i: $(wildcard *.hh)
touch $@
%_wrap.cc: %.i
- swig -c $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $<
+ swig $(filter -I%,$(CXXFLAGS)) -python -shadow -c++ -nodefault -o $@ $<
# local dependencies