[lkml]   [2019]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 RESEND] scripts: use pkg-config to locate libcrypto
On Thu, 2019-06-06 at 09:55 +0200, Rolf Eike Beer wrote:
> +CRYPTO_LIBS = $(shell $(PKG_CONFIG) --libs libcrypto 2> /dev/null || -lcrypto)

That's going to run:

$ pkg-config --libs libcrypto || -lcrypto

If libcrypto.pc isn't there, it's going to get this:

-lcrypto: command not found

I think you meant:

+CRYPTO_LIBS = $(shell $(PKG_CONFIG) --libs libcrypto 2> /dev/null || echo -lcrypto)
[unhandled content-type:application/x-pkcs7-signature]
 \ /
  Last update: 2019-06-06 10:18    [W:0.152 / U:4.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site