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.
This commit is contained in:
Mike Frysinger 2021-05-29 15:21:21 -04:00
parent 8ea881d9e3
commit b25370aa9f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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)