Created
September 30, 2009 18:08
-
-
Save josephruscio/198306 to your computer and use it in GitHub Desktop.
This file contains 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
#Forcing mkmf to include a library when the simplistic test used by | |
#have_library fails | |
require 'mkmf' | |
dir_config('foo') | |
if have_header('foo.h') and | |
$libs = append_library($libs, 'foo') | |
then | |
create_makefile('wrapfoo') | |
else | |
puts "foo SDK not found!" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment