shithub: openh264

Download patch

ref: 5d335504fa9966abb0ef5a984a2c15f5a3d23c10
parent: a92b15354e8a7012a7afb9393e3e92436b45653d
author: Martin Storsjö <[email protected]>
date: Mon Jan 2 08:53:23 EST 2017

Don't add -lpthread to LDFLAGS on Darwin, it's unnecessary there

The pthread routines are all part of the main system library which
always is linked in on Darwin.

--- a/build/platform-darwin.mk
+++ b/build/platform-darwin.mk
@@ -11,7 +11,6 @@
 SHARED = -dynamiclib
 SHARED += -current_version $(CURRENT_VERSION) -compatibility_version $(COMPATIBILITY_VERSION)
 CFLAGS += -Wall -fPIC -MMD -MP
-LDFLAGS += -lpthread
 ifeq ($(ASM_ARCH), x86)
 ASMFLAGS += -DPREFIX
 ifeq ($(ARCH), x86_64)