summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2013-05-30 17:16:03 -0400
committerRobin Watts <robin.watts@artifex.com>2013-05-30 17:16:46 -0400
commit42db34aa0892c86e20da1063d7e4b07383fd73fe (patch)
treee09a55a4f8911d8660ef55432dcec170319bb98a
parent0ae7a6fc4c7b234c35744d583da3ce155a433dc2 (diff)
downloadmupdf-42db34aa0892c86e20da1063d7e4b07383fd73fe.tar.xz
Update Makefile for V8 MacOS X operation.
Link with 64bit by default.
-rw-r--r--Makethird5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makethird b/Makethird
index 5fba9120..0dc8570e 100644
--- a/Makethird
+++ b/Makethird
@@ -31,13 +31,12 @@ else
V8LIB_CHOICE := debug
endif
+V8_ARCH ?= x64
+
# If you are building for 32bit linux use V8_ARCH=ia32
-# MacOSX has a 64bit kernel, but a 32 bit userspace.
ifeq "$(OS)" "Darwin"
-V8_ARCH ?= ia32
V8LIBS = -L$(V8_DIR)/out-mac/$(V8_ARCH).$(V8LIB_CHOICE)/ -lv8_base -lv8_snapshot
else
-V8_ARCH ?= x64
V8LIBS = -L$(V8_DIR)/out/$(V8_ARCH).$(V8LIB_CHOICE)/obj.target/tools/gyp -lv8_base -lv8_snapshot -lpthread
endif