Skip to content

Commit

Permalink
mongoose: fixed undefined reference error
Browse files Browse the repository at this point in the history
  • Loading branch information
subnut committed Apr 7, 2022
1 parent 7d9c9b2 commit 8c4ae85
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions srcpkgs/mongoose/template
Expand Up @@ -15,12 +15,12 @@ homepage="https://mongoose.ws/"
distfiles="https://github.com/cesanta/mongoose/archive/${version}.tar.gz"
checksum=1ef09d971b6de1a6317c109980d6fb5a9c19b39efef2506d6b76869644b3dafa

export SSL=OPENSSL

# -Wno-error=unused-function: patched tests leave some functions unused
# -Wno-error=sign-conversion: GCC falsely flags musl FD_{SET,ISSET,CLR}
CFLAGS="-fPIC -Wno-error=sign-conversion -Wno-error=unused-function"

export SSL=OPENSSL

# libsanitizer-devel is currenly not available on musl
if [ "$XBPS_TARGET_LIBC" = musl ]; then
make_check_args+=" NO_SANITIZE=1"
Expand All @@ -33,6 +33,10 @@ if [ "$XBPS_BUILD_ENVIRONMENT" = "void-packages-ci" ]; then
make_check_args+=" IPV6=0"
fi

# Ignore defaults in the Makefile, they're examples.
# The real defaults are specified within the code itself.
export DEFS=""

mongoose-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
Expand Down

0 comments on commit 8c4ae85

Please sign in to comment.