diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-02-20 16:18:59 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2016-02-21 07:45:33 +0000 |
commit | e282c19520802b6c1d61e29fa6dd72a8a991608c (patch) | |
tree | 04af59b091baaf996f9e5d9e27098035152ab82c /acinclude.m4 | |
parent | a299e69bb2be8e0532d190bd925b89d91487bc07 (diff) |
autotools: Fix multiple repetitions of -L build flags
Before:
WS_LDFLAGS=' -Wl,--as-needed -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib'
After:
WS_LDFLAGS=' -Wl,--as-needed -L/usr/local/lib'
Bumps autoconf required version to 2.64.
Change-Id: Idac0e0382481ddd954b07d9ac729f33c9d11639a
Reviewed-on: https://code.wireshark.org/review/14041
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 14a848883c..126334b340 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -59,10 +59,10 @@ dnl Roland McGrath, Noah Friedman, david d zuhn, and many others. # "-R" here. # AC_DEFUN([AC_WIRESHARK_ADD_DASH_L], -[$1="$$1 -L$2" +[AX_APPEND_FLAG(-L$2, $1) case "$host_os" in solaris*) - $1="$$1 -R$2" + AX_APPEND_FLAG(-R$2, $1) ;; esac ]) |