Selaa lähdekoodia

auth_ephemeral: do pkg-config for libcrypto if exists

- discover all the libs to link against
- related to GH #1473

(cherry picked from commit 021e7e53585f78b56356c98f25bd731c51f96f9a)
Daniel-Constantin Mierla 7 vuotta sitten
vanhempi
commit
5df0d505d2
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. 8 0
      src/modules/auth_ephemeral/Makefile

+ 8 - 0
src/modules/auth_ephemeral/Makefile

@@ -11,6 +11,14 @@ SSL_BUILDER=$(shell \
 	if pkg-config --exists libssl; then \
 		echo 'pkg-config libssl'; \
 	fi)
+
+ifneq ($(SSL_BUILDER),)
+SSL_BUILDER+=$(shell \
+	if pkg-config --exists libcrypto; then \
+		echo 'libcrypto'; \
+	fi)
+endif
+
 endif
 
 ifneq ($(SSL_BUILDER),)