Skip to content

Commit

Permalink
Pass -ldl in PHP build on UNIX systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan authored and well-in-that-case committed Apr 28, 2024
1 parent b0f69f0 commit 895e4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function check_compiler()
}
else
{
$compiler .= " -Wno-unused-command-line-argument -lm -lstdc++ -pthread";
$compiler .= " -Wno-unused-command-line-argument -lm -lstdc++ -pthread -ldl";
if (!getenv("ANDROID_ROOT"))
{
$compiler .= " -lresolv";
Expand Down

0 comments on commit 895e4dd

Please sign in to comment.