diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2012-11-16 11:01:36 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2012-11-16 11:56:33 +0000 |
commit | 1ced0f58959cde7ef3083efd3990168b56125e7a (patch) | |
tree | 66d461a6ce8ae302b2f7f0223f7992a286c44c2e /Makerules | |
parent | 0b2ef659dcf1fb580a53064dd46f0fefa7ccffb1 (diff) | |
download | mupdf-1ced0f58959cde7ef3083efd3990168b56125e7a.tar.xz |
Build on Solaris (10, at least)
Requires GNU make and gcc.
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 + |