diff options
-rw-r--r-- | Makethird | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |