Browse Source

tor: fix building without OpenSSL engine support

Otherwise it would fail with linking errors.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
lilik-openwrt-22.03
Rui Salvaterra 3 years ago
parent
commit
e30f0480c8
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      net/tor/Makefile

+ 4
- 1
net/tor/Makefile View File

@ -139,7 +139,10 @@ ifeq ($(BUILD_VARIANT),basic)
CONFIGURE_ARGS += --disable-module-relay
endif
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto \
$(if $(CONFIG_OPENSSL_ENGINE),,-DDISABLE_ENGINES)
TARGET_LDFLAGS += -Wl,--gc-sections -flto
CONFIGURE_VARS += \


Loading…
Cancel
Save