summaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2017-02-24 16:47:58 +0100
committerUlf Hermann <[email protected]>2017-04-28 10:57:30 +0000
commitb665cd7c344a7ae86b2dea9f8a8974725f8946ef (patch)
treef632dc5c04265ae8c26d7647c73d5f4a2f962a95 /backends
parent69cdfee21c15e68ab39fe86a86766bb474c2fc78 (diff)
Check if we need -lintl for linking gettext
We might not have gettext available from libc and we cannot get it from gnulib either. Change-Id: I1cc657b13b97bcc7c0f158f11b6702c24e69695c Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'backends')
-rw-r--r--backends/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/Makefile.am b/backends/Makefile.am
index 3e1992eb..6dc20222 100644
--- a/backends/Makefile.am
+++ b/backends/Makefile.am
@@ -141,7 +141,7 @@ libebl_%.so libebl_%.map: libebl_%_pic.a $(libelf) $(libdw) $(libgnu)
$(AM_V_CCLD)$(LINK) $(dso_LDFLAGS) -o $(@:.map=.so) \
-Wl,--whole-archive $< $(cpu_$*) -Wl,--no-whole-archive \
-Wl,--version-script,$(@:.so=.map) \
- -Wl,--as-needed $(libelf) $(libdw) $(libgnu)
+ -Wl,--as-needed $(libelf) $(libdw) $(libgnu) $(intl_LDADD)
@$(textrel_check)
libebl_i386.so: $(cpu_i386)