Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When INCLUDE_HTTP=ON configure finds libmicrohttpd but then build doesn't use it #944

Open
yurivict opened this issue Sep 16, 2023 · 1 comment
Assignees

Comments

@yurivict
Copy link
Contributor

yurivict commented Sep 16, 2023

configure prints:

-- Checking for module 'libmicrohttpd'
--   Found libmicrohttpd, version 0.9.77
-- Found libmicrohttpd 0.9.77

but thenmicrohttpd never appears in any command lines, therefore it isn't used.

Additionally, build/http/CMakeLists.txt has indentation problems like this one:

                if (BUILD_HTTP_STATIC)
                list(POP_BACK PKG_CONFIG_EXECUTABLE)  # undo the append above
                endif()

This probably caused confusion.

Version: 2.68.0
clang-16
FreeBSD 13.2

@DBraun
Copy link
Collaborator

DBraun commented Oct 11, 2023

I think you've pointed out something helpful which is that when I created BUILD_HTTP_STATIC as a flag I should have just used INCLUDE_HTTP because it was meant for that purpose. Does that clarify things? We can try to revise the libfaust automation and see what happens. I think the static libHTTPDFaust.a is also used here: https://github.com/grame-cncm/faust/blob/master-dev/tools/benchmark/Makefile

@DBraun DBraun self-assigned this Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants