Skip to content
Snippets Groups Projects
Commit 21d696e5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

upnp: force -lpthread (fixes #24239)

The pkg-config file correctly supplies -pthread for LDFLAGS, but
libtool discards it, leading to linkage failure if libupnp is linked
statically.
parent 5a010800
No related branches found
No related tags found
1 merge request!1290upnp: force -lpthread (fixes #24239)
Pipeline #182970 passed with stage
in 51 minutes and 46 seconds
......@@ -40,6 +40,11 @@ sd_LTLIBRARIES += $(LTLIBupnp)
if HAVE_OSX
libupnp_plugin_la_LDFLAGS += -Wl,-framework,CoreFoundation,-framework,SystemConfiguration
endif
if HAVE_LINUX
if !HAVE_ANDROID
libupnp_plugin_la_LIBADD += -lpthread
endif
endif
libpulselist_plugin_la_SOURCES = services_discovery/pulse.c
libpulselist_plugin_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment