Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Jean-Baptiste Kempf
vlc
Commits
fa6ce242
Commit
fa6ce242
authored
Apr 26, 2018
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Don't make the crypt/bcrypt libs dependent of libssp
These should still be added if ssp is disabled.
parent
fa25780e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
configure.ac
configure.ac
+7
-4
No files found.
configure.ac
View file @
fa6ce242
...
...
@@ -1128,10 +1128,6 @@ AS_IF([test "${enable_ssp}" != "no" -a "${enable_optimizations}" != "no"], [
dnl Win32 requires linking to ssp for stack-protection
AS_IF([test "${SYS}" = "mingw32"], [
LDFLAGS="${LDFLAGS} -lssp"
dnl library for Crypt/BCrypt APIs
AS_IF([test "${vlc_winstore_app}" != 1],
[LDFLAGS="${LDFLAGS} -ladvapi32"],
[LDFLAGS="${LDFLAGS} -lbcrypt"])
AC_CACHE_CHECK([if linker supports stack protectors], [ac_cv_ld_ssp], [
AC_TRY_LINK([#include <stdio.h>],[char buf[100]; fgets(buf, sizeof(buf), stdin);], [
ac_cv_ld_ssp="yes"
...
...
@@ -1143,6 +1139,13 @@ AS_IF([test "${enable_ssp}" != "no" -a "${enable_optimizations}" != "no"], [
])
])
AS_IF([test "${SYS}" = "mingw32"], [
dnl library for Crypt/BCrypt APIs
AS_IF([test "${vlc_winstore_app}" != 1],
[LDFLAGS="${LDFLAGS} -ladvapi32"],
[LDFLAGS="${LDFLAGS} -lbcrypt"])
])
VLC_SAVE_FLAGS
LDFLAGS="${LDFLAGS} -Wl,-Bsymbolic"
AC_CACHE_CHECK([if linker supports -Bsymbolic], [ac_cv_ld_bsymbolic], [
...
...
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