Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
b6160774
Commit
b6160774
authored
Aug 24, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contribs: fix libupnp linking with pthread for Win32
Ref #4108
parent
bfaf469f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
extras/contrib/src/Patches/libupnp-configure.patch
extras/contrib/src/Patches/libupnp-configure.patch
+11
-1
No files found.
extras/contrib/src/Patches/libupnp-configure.patch
View file @
b6160774
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
+# [],
+# [],
+# [AC_MSG_ERROR([POSIX threads are required to build this program])])
+# [AC_MSG_ERROR([POSIX threads are required to build this program])])
#
#
+PTHREAD_LIBS=" -lpthreadGC2"
+PTHREAD_LIBS=" -lpthreadGC2
-lws2_32
"
+PTHREAD_CFLAGS=" -DPTW32_STATIC_LIB -DUPNP_STATIC_LIB"
+PTHREAD_CFLAGS=" -DPTW32_STATIC_LIB -DUPNP_STATIC_LIB"
# Update environment variables for pthreads
# Update environment variables for pthreads
#
#
...
@@ -109,3 +109,13 @@
...
@@ -109,3 +109,13 @@
AC_CONFIG_FILES([
AC_CONFIG_FILES([
--- libupnp/libupnp.pc.in 2008-02-10 02:55:39.000000000 +0100
+++ libupnp.new/libupnp.pc.in 2010-08-24 18:08:41.000000000 +0200
@@ -6,6 +6,6 @@
Name: libupnp
Description: Linux SDK for UPnP Devices
Version: @VERSION@
-Libs: @PTHREAD_LIBS@ -L${libdir} -lupnp -lthreadutil -lixml
+Libs: -L${libdir} -lupnp -lthreadutil -lixml @PTHREAD_LIBS@
Cflags: @PTHREAD_CFLAGS@ -I${includedir}/upnp
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment