|
@@ -24,13 +24,8 @@ LIBEVENT_POST_INSTALL_TARGET_HOOKS += LIBEVENT_REMOVE_PYSCRIPT
|
|
endif
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
-LIBEVENT_DEPENDENCIES += openssl
|
|
|
|
|
|
+LIBEVENT_DEPENDENCIES += host-pkgconf openssl
|
|
LIBEVENT_CONF_OPTS += --enable-openssl
|
|
LIBEVENT_CONF_OPTS += --enable-openssl
|
|
-# openssl needs zlib but configure forgets to link against it causing
|
|
|
|
-# openssl detection to fail
|
|
|
|
-ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
-LIBEVENT_CONF_ENV += OPENSSL_LIBADD='-lz'
|
|
|
|
-endif
|
|
|
|
else
|
|
else
|
|
LIBEVENT_CONF_OPTS += --disable-openssl
|
|
LIBEVENT_CONF_OPTS += --disable-openssl
|
|
endif
|
|
endif
|