Permalink
Browse files

Fixed a bug that was breaking the linker on AMD

  • Loading branch information...
1 parent 08fd4d4 commit aceb26bb33f9edecbc5b8906a7a89b4c61383e42 @dachev committed Jan 14, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 package.json
  2. +1 −1 wscript
View
@@ -2,7 +2,7 @@
"name": "cld",
"description": "A straight port of the CLD (Compact Language Detector) library embedded in Google's Chromium browser. The library detects the language from provided UTF8 text. It's implemented in C++, with very basic Node bindings.",
"keywords": ["language", "detect", "language detection"],
- "version": "0.0.3",
+ "version": "0.0.4",
"main": "./build/default/cld",
"dependencies": {
},
View
@@ -26,7 +26,7 @@ def build(bld):
bld.recurse('chromium')
obj = bld.new_task_gen("cxx", "shlib", "node_addon")
- obj.cxxflags = ["-Wall"]
+ obj.cxxflags = ["-DCLD_WINDOWS", "-Wall"]
obj.includes = '. chromium'
obj.add_objects = 'chromium'
obj.source = "src/cld.cc"

0 comments on commit aceb26b

Please sign in to comment.