| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | From: Santiago Vila <sanvila@debian.org> |
| 2 | Subject: unix/configure: Take linking flags from the environment | ||||
| 3 | Bug-Debian: http://bugs.debian.org/673476 | ||||
| 4 | X-Debian-version: 3.0-5 | ||||
| 5 | |||||
| 6 | --- a/unix/configure | ||||
| 7 | +++ b/unix/configure | ||||
| 8 | @@ -18,7 +18,7 @@ trap "rm -f conftest* core a.out; exit 1 | ||||
| 9 | |||||
| 10 | CC=${1-cc} | ||||
| 11 | CFLAGS=${2-"-I. -DUNIX"} | ||||
| 12 | -LFLAGS1='' | ||||
| 13 | +LFLAGS1=${LDFLAGS} | ||||
| 14 | LFLAGS2='' | ||||
| 15 | LN="ln -s" | ||||
| 16 | |||||