Created
January 15, 2009 09:29
-
-
Save dbussink/47339 to your computer and use it in GitHub Desktop.
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/do_postgres/ext/do_postgres_ext/extconf.rb b/do_postgres/ext/do_postgres_ext/extconf.rb | |
| index a8e7631..116de1c 100644 | |
| --- a/do_postgres/ext/do_postgres_ext/extconf.rb | |
| +++ b/do_postgres/ext/do_postgres_ext/extconf.rb | |
| @@ -22,6 +22,7 @@ def pg_config(type) | |
| end | |
| def have_build_env | |
| + have_header('win32.h') if RUBY_PLATFORM =~ /mswin/ | |
| (have_library('pq') || have_library('libpq')) && | |
| have_header('libpq-fe.h') && have_header('libpq/libpq-fs.h') && | |
| have_header('postgres.h') && have_header('mb/pg_wchar.h') && | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment