1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- /tmp/build/tmp-vlc/vlc-0.8.6h/configure.ac.orig 2008-06-17 11:34:12.000000000 +0200
+++ /tmp/build/tmp-vlc/vlc-0.8.6h/configure.ac 2008-06-17 12:17:33.000000000 +0200
@@ -4362,12 +4362,12 @@
VLC_ADD_CXXFLAGS([upnp_intel], [ ])
AS_IF([test "x${enable_upnp}" != "xno"], [
- AC_CHECK_LIB([upnp], [UpnpInit], [has_upnp="yes"], [has_upnp="no"], [-lpthread])
+ AC_CHECK_LIB([upnp], [UpnpInit], [has_upnp="yes"], [has_upnp="no"], [-lthreadutil -lixml -lpthread])
AS_IF([test "x${enable_upnp}" != "x" && test "${has_upnp}" = "no"], [
AC_MSG_ERROR([cannot find Intel UPnP SDK (libupnp)])
])
AS_IF([test "${has_upnp}" = "yes"], [
- VLC_ADD_LDFLAGS([upnp_intel], [-lupnp])
+ VLC_ADD_LDFLAGS([upnp_intel], [-lupnp -lthreadutil -lixml])
])
], [
has_upnp="no"
|