Commit fb56d371 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

libupnpp: fix libupnp detection with static linking

parent a0e44a34
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -11,4 +11,10 @@ LIBUPNPP_LICENSE_FILES = COPYING
LIBUPNPP_INSTALL_STAGING = YES
LIBUPNPP_DEPENDENCIES = expat libcurl libupnp

# configure script fails to link against the dependencies of libupnp
# causing upnp detection to fail when statically linking
ifeq ($(BR2_STATIC_LIBS),y)
LIBUPNPP_CONF_ENV += LIBS='-lthreadutil -lixml -pthread'
endif

$(eval $(autotools-package))