Permalink
Browse files

add build setting for Mac xcode

  • Loading branch information...
1 parent 3366963 commit f2d6ecc631b5a658e840950c1ccdd50262548e64 kanonji committed Nov 27, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 binding.gyp
View
@@ -6,6 +6,13 @@
"include_dirs": ["<!@(pkg-config --cflags-only-I groonga | sed -e 's/-I//g')"],
"ldflags": ["<!@(pkg-config --libs-only-L groonga)"],
"libraries": ["<!@(pkg-config --libs-only-l groonga)"],
+ "conditions": [
+ ['OS == "mac"', {
+ "xcode_settings": {
+ "OTHER_LDFLAGS": ["<!@(pkg-config --libs-only-L groonga)"]
+ }
+ }]
+ ]
}
]
}

0 comments on commit f2d6ecc

Please sign in to comment.