summaryrefslogtreecommitdiff
path: root/libhal
diff options
context:
space:
mode:
authorJulio M. Merino Vidal <jmmv@NetBSD.org>2006-08-02 19:01:32 -0400
committerDavid Zeuthen <davidz@redhat.com>2006-08-02 19:01:32 -0400
commitb0402cb222a6f9966947a750d1be39fb04582ff7 (patch)
tree82831842ef7dfcf33f5448afef56d1f349297d0d /libhal
parentff1246c473d915310fb218b1ee8914be5da742fb (diff)
make libhal link against libintl for NetBSD (bug #6471)
libhal uses i18n functions such as bindtextdomain. These functions are not always provided by the standard C library (as happens in Linux). For example, NetBSD has the i18n functions in libintl. Therefore, libhal should be linked against the appropriate library that provides the missing functions. This library is available in the INTLLIBS variable thanks to the AM_GLIB_GNU_GETTEXT variable used in configure. If libhal is not linked to libintl, any program using libhal fails to build because the missing functions cannot be found. This happens while trying to build the tools directory.
Diffstat (limited to 'libhal')
-rw-r--r--libhal/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhal/Makefile.am b/libhal/Makefile.am
index 8e39636c..e3ae82f3 100644
--- a/libhal/Makefile.am
+++ b/libhal/Makefile.am
@@ -21,7 +21,7 @@ LIBGCOV = -lgcov
else
LIBGCOV =
endif
-libhal_la_LIBADD = @DBUS_LIBS@ $(LIBGCOV)
+libhal_la_LIBADD = @DBUS_LIBS@ $(LIBGCOV) $(INTLLIBS)
libhal_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)