Commit ae5cf30
committed
res_init is __res_init; doesn't need -lresolv
glibc 2.2 deprecated res_init, and renamed it as __res_init:
https://bugzilla.redhat.com/show_bug.cgi?id=43822#c6
res_init keeps working in C for programs that directly use resolv.h,
since it redefines the symbol in a macro, but this won't work in Rust
land.1 parent 35c5b2e commit ae5cf30
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
233 | 232 | | |
234 | 233 | | |
235 | 234 | | |
| |||
243 | 242 | | |
244 | 243 | | |
245 | 244 | | |
246 | | - | |
247 | 245 | | |
248 | 246 | | |
249 | 247 | | |
| |||
696 | 694 | | |
697 | 695 | | |
698 | 696 | | |
| 697 | + | |
699 | 698 | | |
700 | 699 | | |
701 | 700 | | |
| |||
0 commit comments