Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Make sure things actually link on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Mar 13, 2015
1 parent 03f77df commit ec3b84c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config.w32
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,9 @@ if (PHP_MONGO != "no") {
WARNING("mongo libsasl support not enabled, libs not found");
}
}

if (CHECK_LIB("ssleay32.lib", "mongo", PHP_MONGO) && CHECK_LIB("libeay32.lib", "mongo", PHP_MONGO)) {
ADD_FLAG("CFLAGS_MONGO", " /D HAVE_MONGO_SSLLIB=1");
}
}

0 comments on commit ec3b84c

Please sign in to comment.