Created
April 18, 2012 06:00
-
-
Save yasuhito/2411381 to your computer and use it in GitHub Desktop.
a patch that fixes linkage problem?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ruby/extconf.rb b/ruby/extconf.rb | |
index cda078f..2343ba6 100644 | |
--- a/ruby/extconf.rb | |
+++ b/ruby/extconf.rb | |
@@ -45,6 +45,10 @@ EOF | |
end | |
+unless find_library( "pthread", "pthread_create" ) | |
+ error_exit error_lib_missing( "libpthread", "libc6-dev" ) | |
+end | |
+ | |
unless find_library( "rt", "clock_gettime" ) | |
error_exit error_lib_missing( "librt", "libc6-dev" ) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment