summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2012-11-16 11:01:36 +0000
committerChris Liddell <chris.liddell@artifex.com>2012-11-16 11:56:33 +0000
commit1ced0f58959cde7ef3083efd3990168b56125e7a (patch)
tree66d461a6ce8ae302b2f7f0223f7992a286c44c2e /Makerules
parent0b2ef659dcf1fb580a53064dd46f0fefa7ccffb1 (diff)
downloadmupdf-1ced0f58959cde7ef3083efd3990168b56125e7a.tar.xz
Build on Solaris (10, at least)
Requires GNU make and gcc.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 3e036f61..0cfc93d0 100644
--- a/Makerules
+++ b/Makerules
@@ -34,6 +34,12 @@ LDFLAGS += -L/usr/local/lib
X11_LIBS := -lX11 -lXext
endif
+ifeq "$(OS)" "SunOS"
+SYS_FREETYPE_INC := `pkg-config --cflags freetype2`
+LDFLAGS += -L/usr/local/lib
+X11_LIBS := -lX11 -lXext
+endif
+
# Mac OS X build depends on some thirdparty libs
ifeq "$(OS)" "Darwin"
SYS_FREETYPE_INC := -I/usr/X11R6/include/freetype2
@@ -117,3 +123,4 @@ RANLIB_CMD = $(PLATFORM_DEVELOPER_BIN_DIR)/ranlib $@
CROSSCOMPILE=yes
NOX11=yes
endif
+