mudlfap binaries should find the libebl modules.
authorUlrich Drepper <drepper@redhat.com>
Wed, 24 Aug 2005 20:55:31 +0000 (20:55 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 24 Aug 2005 20:55:31 +0000 (20:55 +0000)
tests/ChangeLog
tests/Makefile.am

index 4219f05..b1bddca 100644 (file)
@@ -1,6 +1,7 @@
 2005-08-24  Ulrich Drepper  <drepper@redhat.com>
 
        * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
+       [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
 
 2005-08-22  Roland McGrath  <roland@redhat.com>
 
index f7d3ef2..b4cc1b0 100644 (file)
@@ -16,6 +16,7 @@ DEFS = -DHAVE_CONFIG_H -D_GNU_SOURCE
 if MUDFLAP
 AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 -fmudflap\
            $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
+AM_LDFLAGS = -Wl,-rpath,\$$ORIGIN/../libebl
 else
 AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 \
            $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)