fix(main/lighttpd): link with libandroid-spawn #22024
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Progress on #21130
Fixes this error during build:
I tested this by using the docker container to cross-compile this package, then copying the .deb file to my aarch64 Android 10 device. I was able to successfully test the resulting program as a functioning web server at runtime after installing the .deb file by typing these commands (note: identical commands are also required for testing the previous build of the
lighttpd
package from the time of NDK revision 26 that's currently in the repositories, so I believe that my update most likely has equivalent functionality without any regression):My Android 10 device's WiFi LAN local IP address is 192.168.120.74, so then I used a separate computer's web browser to go to this address: http://192.168.120.74:8080/index.html, where I am able to see the text I wrote into the
index.html
file, "hello lighttpd"