From: Mike Frysinger Date: Sat, 29 May 2021 19:21:21 +0000 (-0400) Subject: sim: pull in extra gnulib libs too X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b25370aa9f3e7dd8fe53300b35d2a5ecdd3e48b9;p=binutils-gdb.git 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. --- diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index f44e0559e6f..4ce0c4c22f9 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,7 @@ +2021-05-29 Mike Frysinger + + * Make-common.in (EXTRA_LIBS): Add $(LIBGNU_EXTRA_LIBS). + 2021-05-29 Mike Frysinger * Make-common.in (GNULIB_BUILDDIR): Define. diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index 8f52cf5e53f..160e9121a6d 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)