projects
/
trafficserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fd7fec
)
as-needed-fix
author
Jean Baptiste Favre
<debian@jbfavre.org>
Wed, 31 Jul 2019 09:11:59 +0000
(10:11 +0100)
committer
Emanuele Rocca
<ema@debian.org>
Wed, 31 Jul 2019 09:11:59 +0000
(10:11 +0100)
Forwarded: https://github.com/apache/trafficserver/pull/4793
Last-Update: 2019-01-12
Gbp-Pq: Name 0015-as-needed-fix.patch
build/common.m4
patch
|
blob
|
history
diff --git
a/build/common.m4
b/build/common.m4
index d66b002646d6317a791edb72086a564be1183bb2..6f5148a9aacd8fd7eeb691ef6f8656a8a4ea3956 100644
(file)
--- a/
build/common.m4
+++ b/
build/common.m4
@@
-196,17
+196,17
@@
AC_DEFUN([TS_TRY_COMPILE_NO_WARNING],
])
dnl
-dnl TS_LINK_WITH_FLAGS_IFELSE(L
DFLAG
S, FUNCTION-BODY,
+dnl TS_LINK_WITH_FLAGS_IFELSE(L
IB
S, FUNCTION-BODY,
dnl [ACTIONS-IF-LINKS], [ACTIONS-IF-LINK-FAILS])
dnl
dnl Tries a link test with the provided flags.
dnl
AC_DEFUN([TS_LINK_WITH_FLAGS_IFELSE],
-[ats_save_L
DFLAGS=$LDFLAG
S
- L
DFLAGS="$LDFLAG
S $1"
+[ats_save_L
IBS=$LIB
S
+ L
IBS="$LIB
S $1"
AC_LINK_IFELSE([$2],[$3],[$4])
- L
DFLAGS=$ats_save_LDFLAG
S
+ L
IBS=$ats_save_LIB
S
])