← 返回首页
static link for the sample http · Issue #230 · etr/libhttpserver · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

static link for the sample http #230

New issue
New issue

Description

libhttpserver by default has static enabled but I could not get it to work with the hello sample program due to the fact that, unistring and p11-kit do not provide static libraries.

pkg-config --cflags --libs --static libhttpserver.pc g++ -O2 -static hello.cpp -lhttpserver -lmicrohttpd -lgnutls -pthread -lgmp -lunistring -lidn2 -latomic -lhogweed -lgmp -lnettle -ltasn1 -lp11-kit /usr/bin/ld: cannot find -lunistring /usr/bin/ld: cannot find -lp11-kit

additionally if libhttpserver can support openssl and wolfssl that would be nice, gnutls is so complicated comparing to openssl and wolfssl libraries.

Metadata

Metadata

Assignees

Labels

feature-requestFeature requests or enhancements

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

  • Open in GitHub Copilot app

Footer

© 2026 GitHub, Inc.