Browse files

separate compile and build flags

  • Loading branch information...
1 parent f7191f8 commit 5e903cb95bd845d6b8997b25fcbb8e88d591058f @piavlo piavlo committed Jul 5, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/fuzzystringmatch/inline/jarowinkler.rb
View
3 lib/fuzzystringmatch/inline/jarowinkler.rb
@@ -24,7 +24,8 @@ def pure?
inline do |builder|
builder.include '<iostream>'
- builder.add_compile_flags '-x c++', '-lstdc++'
+ builder.add_compile_flags %q(-x c++)
+ builder.add_link_flags %q(-lstdc++)
builder.c_raw 'int max( int a, int b ) { return ((a)>(b)?(a):(b)); }'
builder.c_raw 'int min( int a, int b ) { return ((a)<(b)?(a):(b)); }'
builder.c_raw 'double double_min( double a, double b ) { return ((a)<(b)?(a):(b)); }'

0 comments on commit 5e903cb

Please sign in to comment.