summaryrefslogtreecommitdiffstats
path: root/vlc/build/vlc-0.9.0_upnp.patch
blob: 1cbffe410d250207c1923d8fbab697309ed35fab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -uarN vlc-0.9.0-test2.orig/configure.ac vlc-0.9.0-test2/configure.ac
--- vlc-0.9.0-test2.orig/configure.ac	2008-07-05 00:03:20.000000000 +0200
+++ vlc-0.9.0-test2/configure.ac	2008-07-05 21:52:01.000000000 +0200
@@ -4767,12 +4767,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_LIBS([upnp_intel], [-lupnp -lixml])
+    VLC_ADD_LIBS([upnp_intel], [-lupnp -lthreadutil -lixml])
   ])
 ], [
   has_upnp="no"