From 7add4e1c99e59c7600a847117743eb6b922b975a Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Sat, 20 Jan 2018 00:16:11 +0100 Subject: [PATCH] Fix using wrong .o files with Apple libtool --- buildsys.mk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildsys.mk.in b/buildsys.mk.in index 67908ad..a463472 100644 --- a/buildsys.mk.in +++ b/buildsys.mk.in @@ -351,7 +351,7 @@ ${STATIC_PIC_LIB} ${STATIC_PIC_LIB_NOINST}: ${EXT_DEPS} ${LIB_OBJS} ${LIB_OBJS_E ${LINK_STATUS} rm -f $@ if test x"${BUILD_AND_HOST_ARE_DARWIN}" = x"yes"; then \ - if /usr/bin/libtool -static -o $@ ${OBJS} ${OBJS_EXTRA}; then \ + if /usr/bin/libtool -static -o $@ ${LIB_OBJS} ${LIB_OBJS_EXTRA}; then \ ${LINK_OK}; \ else \ ${LINK_FAILED}; \