mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
snort: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
parent
1412617849
commit
423d6f08d0
|
|
@ -5,6 +5,7 @@ LICENSE = "GPL-2.0"
|
|||
LIC_FILES_CHKSUM = "file://COPYING;md5=78fa8ef966b48fbf9095e13cc92377c5"
|
||||
|
||||
DEPENDS = "xz libpcap libpcre daq libdnet util-linux"
|
||||
DEPENDS_append_libc-musl = " libtirpc"
|
||||
|
||||
SRC_URI = " ${GENTOO_MIRROR}/${BP}.tar.gz;name=tarball \
|
||||
file://snort.init \
|
||||
|
|
@ -46,6 +47,9 @@ PACKAGECONFIG ?= "openssl lzma"
|
|||
PACKAGECONFIG[openssl] = "--with-openssl-includes=${STAGING_INCDIR} --with-openssl-libraries=${STAGING_LIBDIR}, --without-openssl-includes --without-openssl-libraries, openssl,"
|
||||
PACKAGECONFIG[lzma] = "--with-lzma-includes=${STAGING_INCDIR} --with-lzma-libraries=${STAGING_LIBDIR}, --without-lzma-includes --without-lzma-libraries, xz,"
|
||||
|
||||
CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc"
|
||||
LDFLAGS_append_libc-musl = " -ltirpc"
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${sysconfdir}/snort/rules
|
||||
install -d ${D}${sysconfdir}/snort/preproc_rules
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user