-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mimic what it is done on Linux. One pkg-conf file for each library: libcrypto.dll -> libcrypto.pc libssl.pc -> libssl.pc Then a openssl.pc file that that requires both libraries.
- Loading branch information
1 parent
fb374b2
commit 8fa65fd
Showing
3 changed files
with
27 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
prefix=@prefix@ | ||
exec_prefix=${prefix} | ||
libdir=${exec_prefix}/lib | ||
includedir=${prefix}/include | ||
enginesdir=${libdir}/engines-3 | ||
|
||
Name: OpenSSL-libcrypto | ||
Description: OpenSSL cryptography library | ||
Version: @version@ | ||
Libs: -L${libdir} -lcrypto | ||
Libs.private: -ldl -pthread | ||
Cflags: -I${includedir} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
prefix=@prefix@ | ||
exec_prefix=${prefix} | ||
libdir=${exec_prefix}/lib | ||
includedir=${prefix}/include | ||
|
||
Name: OpenSSL-libssl | ||
Description: Secure Sockets Layer and cryptography libraries | ||
Version: @version@ | ||
Requires.private: libcrypto | ||
Libs: -L${libdir} -lssl | ||
Cflags: -I${includedir} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
# On windows, the prefix is automagically build from the location of the .pc file | ||
prefix=@prefix@ | ||
exec_prefix=${prefix} | ||
libdir=${prefix}/lib | ||
libdir=${exec_prefix}/lib | ||
includedir=${prefix}/include | ||
|
||
Name: openssl | ||
Description: Cryptography and SSL/TLS Toolkit | ||
Name: OpenSSL | ||
Description: Secure Sockets Layer and cryptography libraries and tools | ||
Version: @version@ | ||
Requires: libssl libcrypto | ||
|
||
Libs: -L${libdir} -llibssl -llibcrypto | ||
Cflags: -I${includedir}/openssl |