mirror of
https://git.sr.ht/~eliasnaur/gio-cmd
synced 2026-07-01 07:35:37 +00:00
gogio: [iOS] link with -lresolv
Since Go 1.20 c-shared object files may lack a reference to the resolv library and it must be added manually to the linking step. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -203,6 +203,7 @@ int main(int argc, char * argv[]) {
|
|||||||
compile.Args = append(compile.Args,
|
compile.Args = append(compile.Args,
|
||||||
"-Werror",
|
"-Werror",
|
||||||
"-fmodules",
|
"-fmodules",
|
||||||
|
"-lresolv",
|
||||||
"-fobjc-arc",
|
"-fobjc-arc",
|
||||||
"-x", "objective-c",
|
"-x", "objective-c",
|
||||||
"-F", tmpDir,
|
"-F", tmpDir,
|
||||||
|
|||||||
Reference in New Issue
Block a user