mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 21:20:19 +00:00
Enable XSLT transforms on OSX
We still need proper paths and install options for the install-macosx and create-macosx-bundle targets. This enables XSLT support when running as ./subsurface, but doesn't hurt the other install targets. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
eb7acc1d96
commit
312f553aee
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -111,6 +111,7 @@ ifeq ($(UNAME), linux)
|
||||||
GCONF2CFLAGS = $(shell $(PKGCONFIG) --cflags gconf-2.0)
|
GCONF2CFLAGS = $(shell $(PKGCONFIG) --cflags gconf-2.0)
|
||||||
OSSUPPORT = linux
|
OSSUPPORT = linux
|
||||||
OSSUPPORT_CFLAGS = $(GTKCFLAGS) $(GCONF2CFLAGS)
|
OSSUPPORT_CFLAGS = $(GTKCFLAGS) $(GCONF2CFLAGS)
|
||||||
|
XSLT_CAPABLE = 1
|
||||||
else ifeq ($(UNAME), darwin)
|
else ifeq ($(UNAME), darwin)
|
||||||
OSSUPPORT = macos
|
OSSUPPORT = macos
|
||||||
OSSUPPORT_CFLAGS = $(GTKCFLAGS)
|
OSSUPPORT_CFLAGS = $(GTKCFLAGS)
|
||||||
|
@ -121,6 +122,7 @@ else ifeq ($(UNAME), darwin)
|
||||||
CFLAGS += $(shell $(PKGCONFIG) --cflags gtk-mac-integration)
|
CFLAGS += $(shell $(PKGCONFIG) --cflags gtk-mac-integration)
|
||||||
LDFLAGS += -headerpad_max_install_names
|
LDFLAGS += -headerpad_max_install_names
|
||||||
GTK_MAC_BUNDLER = ~/.local/bin/gtk-mac-bundler
|
GTK_MAC_BUNDLER = ~/.local/bin/gtk-mac-bundler
|
||||||
|
XSLT_CAPABLE = 1
|
||||||
else
|
else
|
||||||
OSSUPPORT = windows
|
OSSUPPORT = windows
|
||||||
OSSUPPORT_CFLAGS = $(GTKCFLAGS)
|
OSSUPPORT_CFLAGS = $(GTKCFLAGS)
|
||||||
|
@ -134,7 +136,7 @@ endif
|
||||||
|
|
||||||
ifneq ($(strip $(LIBXSLT)),)
|
ifneq ($(strip $(LIBXSLT)),)
|
||||||
# We still need proper paths and install options for OSX and Windows
|
# We still need proper paths and install options for OSX and Windows
|
||||||
ifeq ($(shell sh -c 'uname -s 2>/dev/null || echo not'),Linux)
|
ifdef XSLT_CAPABLE
|
||||||
XSLT=-DXSLT='"$(XSLTDIR)"'
|
XSLT=-DXSLT='"$(XSLTDIR)"'
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue