aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-29 15:21:21 -0400
committerMike Frysinger <vapier@gentoo.org>2021-05-29 15:31:12 -0400
commitb25370aa9f3e7dd8fe53300b35d2a5ecdd3e48b9 (patch)
tree783bd54d92acf98889d1cc07e165d77e4a26c84e /sim
parent8ea881d9e3cbaf4667f24db3fa8741392ee54437 (diff)
downloadfsf-binutils-gdb-b25370aa9f3e7dd8fe53300b35d2a5ecdd3e48b9.zip
fsf-binutils-gdb-b25370aa9f3e7dd8fe53300b35d2a5ecdd3e48b9.tar.gz
fsf-binutils-gdb-b25370aa9f3e7dd8fe53300b35d2a5ecdd3e48b9.tar.bz2
sim: pull in extra gnulib libs too
Some modules might require extra linking depending on the platform (e.g. Windows might need -lws2_32), so include the existing extra gnulib libs setting.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/Make-common.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index f44e055..4ce0c4c 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
2021-05-29 Mike Frysinger <vapier@gentoo.org>
+ * Make-common.in (EXTRA_LIBS): Add $(LIBGNU_EXTRA_LIBS).
+
+2021-05-29 Mike Frysinger <vapier@gentoo.org>
+
* Make-common.in (GNULIB_BUILDDIR): Define.
Include $(GNULIB_BUILDDIR)/Makefile.gnulib.inc.
(CSEARCH): Add -I../...
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 8f52cf5..160e912 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -253,7 +253,7 @@ LIBINTL_DEP = @LIBINTL_DEP@
CONFIG_LIBS = @LIBS@ $(ZLIB)
LIBDEPS = $(BFD_LIB) $(OPCODES_LIB) $(LIBINTL_DEP) $(LIBIBERTY_LIB)
EXTRA_LIBS = $(BFD_LIB) $(OPCODES_LIB) $(LIBINTL) $(LIBIBERTY_LIB) \
- $(CONFIG_LIBS) $(SIM_EXTRA_LIBS) $(LIBDL) $(LIBGNU)
+ $(CONFIG_LIBS) $(SIM_EXTRA_LIBS) $(LIBDL) $(LIBGNU) $(LIBGNU_EXTRA_LIBS)
LIB_OBJS = callback.o modules.o syscall.o targ-map.o version.o \
$(SIM_OBJS)