mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
mongoose: add optional openssl support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
aabc7475e6
commit
a859f06eed
@ -10,7 +10,15 @@ MONGOOSE_SITE = https://mongoose.googlecode.com/files
|
|||||||
MONGOOSE_LICENSE = MIT
|
MONGOOSE_LICENSE = MIT
|
||||||
MONGOOSE_LICENSE_FILES = COPYING
|
MONGOOSE_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
MONGOOSE_CFLAGS = $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -DNO_SSL
|
MONGOOSE_CFLAGS = $(TARGET_CFLAGS) $(TARGET_LDFLAGS)
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
|
MONGOOSE_DEPENDENCIES += openssl
|
||||||
|
# directly linked
|
||||||
|
MONGOOSE_CFLAGS += -DNO_SSL_DL -lssl -lcrypto -lz
|
||||||
|
else
|
||||||
|
MONGOOSE_CFLAGS += -DNO_SSL
|
||||||
|
endif
|
||||||
|
|
||||||
define MONGOOSE_BUILD_CMDS
|
define MONGOOSE_BUILD_CMDS
|
||||||
$(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) \
|
$(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user