diff --git a/core/combo/darwin-x86.mk b/core/combo/darwin-x86.mk index 3b54efb92..8fc48a132 100644 --- a/core/combo/darwin-x86.mk +++ b/core/combo/darwin-x86.mk @@ -86,9 +86,10 @@ $(HOST_CXX) \ $(HOST_GLOBAL_LD_DIRS) \ $(call normalize-target-libraries,$(PRIVATE_ALL_SHARED_LIBRARIES)) \ $(PRIVATE_ALL_OBJECTS) \ - $(PRIVATE_LDLIBS) \ $(call normalize-target-libraries,$(PRIVATE_ALL_WHOLE_STATIC_LIBRARIES)) \ $(call normalize-target-libraries,$(PRIVATE_ALL_STATIC_LIBRARIES)) \ + $(PRIVATE_LDFLAGS) \ + $(PRIVATE_LDLIBS) \ $(HOST_LIBGCC) endef