summaryrefslogtreecommitdiff
path: root/Jamrules
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2008-09-07 17:10:51 +0200
committerTor Andersson <tor@ghostscript.com>2008-09-07 17:10:51 +0200
commitb39c61be4c3f71b8322c933ffe0cdb8b40cdbd7d (patch)
tree9c213e283ebedeed1ee477a77b12e0c0ff446d74 /Jamrules
parent9682c53bc256f7c17fe0c10e9c8f7225042e0493 (diff)
downloadmupdf-b39c61be4c3f71b8322c933ffe0cdb8b40cdbd7d.tar.xz
Tweak Jamrules to build on linux.
Diffstat (limited to 'Jamrules')
-rw-r--r--Jamrules6
1 files changed, 3 insertions, 3 deletions
diff --git a/Jamrules b/Jamrules
index d8915a4a..cee72db7 100644
--- a/Jamrules
+++ b/Jamrules
@@ -43,10 +43,11 @@ if $(OS) = LINUX
Echo Building for LINUX ;
THIRDPARTYINC ?= "`freetype-config --cflags`" ;
- THIRDPARTYLIB ?= "`freetype-config --libs`" ;
+ THIRDPARTYLIB ?= "`freetype-config --libs`" -L/usr/X11R6/lib ;
NEED_STRLCPY = true ;
NEED_STRSEP = true ;
+ NEED_GETOPT = true ;
BUILD_X11APP = true ;
@@ -132,10 +133,9 @@ if $(OS) = NT
# Set some DEFINES based on missing platform features
-if $(NEED_GETOPT) { DEFINES += NEED_GETOPT ; }
-if $(NEED_STRLCAT) { DEFINES += NEED_STRLCAT ; }
if $(NEED_STRLCPY) { DEFINES += NEED_STRLCPY ; }
if $(NEED_STRSEP) { DEFINES += NEED_STRSEP ; }
+if $(NEED_GETOPT) { DEFINES += NEED_GETOPT ; }
# WindRes rule for compiling the windows viewer and plugin