summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-06-12 13:37:26 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-06-12 16:04:14 +0200
commit6cf0e12ecdaa54bfc024d056445919da0f4198bb (patch)
treedec4a5dc4224b4848d40f2fd8aca7175da0e4b93 /Makethird
parent5876fcf4fcecd06af6c6fe2ec90f94fbfeda0263 (diff)
downloadmupdf-6cf0e12ecdaa54bfc024d056445919da0f4198bb.tar.xz
Some Makefile cleanups.
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makethird b/Makethird
index 0dc8570e..7e583219 100644
--- a/Makethird
+++ b/Makethird
@@ -24,20 +24,20 @@ ifneq "$(V8_DIR)" ""
CFLAGS += -I$(V8_DIR)/include
ifeq "$(build)" "release"
-V8LIB_CHOICE := release
+V8_LIB_CHOICE := release
else ifeq "$(build)" "profile"
-V8LIB_CHOICE := release
+V8_LIB_CHOICE := release
else
-V8LIB_CHOICE := debug
+V8_LIB_CHOICE := debug
endif
V8_ARCH ?= x64
# If you are building for 32bit linux use V8_ARCH=ia32
ifeq "$(OS)" "Darwin"
-V8LIBS = -L$(V8_DIR)/out-mac/$(V8_ARCH).$(V8LIB_CHOICE)/ -lv8_base -lv8_snapshot
+V8_LIBS = -L$(V8_DIR)/out-mac/$(V8_ARCH).$(V8_LIB_CHOICE)/ -lv8_base -lv8_snapshot -lstdc++
else
-V8LIBS = -L$(V8_DIR)/out/$(V8_ARCH).$(V8LIB_CHOICE)/obj.target/tools/gyp -lv8_base -lv8_snapshot -lpthread
+V8_LIBS = -L$(V8_DIR)/out/$(V8_ARCH).$(V8_LIB_CHOICE)/obj.target/tools/gyp -lv8_base -lv8_snapshot -lpthread -lstdc++
endif
V8_PRESENT := 1