Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
0e232d47
Commit
0e232d47
authored
Jun 19, 2018
by
Hugo Beauzée-Luyssen
Browse files
Ensure -lpthread will be used when linking statically on linux
parent
1afc51e4
Changes
2
Show whitespace changes
Inline
Side-by-side
configure.ac
View file @
0e232d47
...
...
@@ -46,6 +46,8 @@ case "${host_os}" in
linux*)
SYS=linux
CXXFLAGS="${CXXFLAGS} -pthread"
dnl Specify -lpthread as part of Libs.private, in case of a static build
THREAD_LIBS="-lpthread"
;;
bsdi*)
SYS=bsdi
...
...
@@ -326,4 +328,6 @@ Makefile
medialibrary.pc
])
AC_SUBST(THREAD_LIBS)
AC_OUTPUT
medialibrary.pc.in
View file @
0e232d47
...
...
@@ -8,4 +8,4 @@ Description: cross platform medialibrary
Version: @PACKAGE_VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -lmedialibrary
Libs.private: -lsqlite3 @LIBJPEG_LIBS@
Libs.private: -lsqlite3 @LIBJPEG_LIBS@
@THREAD_LIBS@
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