summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2019-08-28 23:55:24 +0200
committerMark Wielaard <mark@klomp.org>2019-08-28 23:55:24 +0200
commitab415cea199547ee06c50aa82eebe9c58307576f (patch)
tree330a67e8448810cc68af129a308314c9536786d8
parent823ee0c48e6db1134a36c6ae165a983466600fed (diff)
libasm: Link against libebl_pic.a.
Signed-off-by: Mark Wielaard <mark@klomp.org>
-rw-r--r--libasm/ChangeLog4
-rw-r--r--libasm/Makefile.am2
2 files changed, 5 insertions, 1 deletions
diff --git a/libasm/ChangeLog b/libasm/ChangeLog
index 05b830c8..a1abac88 100644
--- a/libasm/ChangeLog
+++ b/libasm/ChangeLog
@@ -1,3 +1,7 @@
+2019-08-28 Mark Wielaard <mark@klomp.org>
+
+ * Makefile.am (libasm_so_DEPS): Replace libebl.a with libebl_pic.a.
+
2019-03-06 Mark Wielaard <mark@klomp.org>
* asm_end.c (binary_end): Check return value of gelf_update_ehdr.
diff --git a/libasm/Makefile.am b/libasm/Makefile.am
index 19fef508..b2bff929 100644
--- a/libasm/Makefile.am
+++ b/libasm/Makefile.am
@@ -55,7 +55,7 @@ libasm_a_SOURCES = asm_begin.c asm_abort.c asm_end.c asm_error.c \
libasm_pic_a_SOURCES =
am_libasm_pic_a_OBJECTS = $(libasm_a_SOURCES:.c=.os)
-libasm_so_DEPS = ../lib/libeu.a ../libebl/libebl.a ../libelf/libelf.so ../libdw/libdw.so
+libasm_so_DEPS = ../lib/libeu.a ../libebl/libebl_pic.a ../libelf/libelf.so ../libdw/libdw.so
libasm_so_LDLIBS = $(libasm_so_DEPS)
if USE_LOCKS
libasm_so_LDLIBS += -lpthread