| diff -Naur qpdf-7.1.0-orig/configure.ac qpdf-7.1.0/configure.ac |
| --- qpdf-7.1.0-orig/configure.ac 2018-01-15 04:09:20.000000000 +0300 |
| +++ qpdf-7.1.0/configure.ac 2018-01-15 09:20:00.149735600 +0300 |
| @@ -122,7 +122,7 @@ |
| |
| if test "x$qpdf_OS_SECURE_RANDOM" = "x1"; then |
| OLIBS=$LIBS |
| - LIBS="$LIBS Advapi32.lib" |
| + LIBS="$LIBS -ladvapi32" |
| AC_MSG_CHECKING(for Advapi32 library) |
| AC_LINK_IFELSE([AC_LANG_PROGRAM( |
| [[#pragma comment(lib, "crypt32.lib") |
| @@ -132,7 +132,7 @@ |
| [CryptAcquireContext(&cp, NULL, NULL, PROV_RSA_FULL, 0);] |
| )], |
| [AC_MSG_RESULT(yes) |
| - LIBS="$OLIBS -lAdvapi32"], |
| + LIBS="$OLIBS -ladvapi32"], |
| [AC_MSG_RESULT(no) |
| LIBS=$OLIBS]) |
| fi |