Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
ebb35e01
Commit
ebb35e01
authored
Nov 23, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: dvdread: fix static linking of dvdcss on osx
parent
cba2b87e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
contrib/src/dvdread/dvdread-css-static-osx.patch
contrib/src/dvdread/dvdread-css-static-osx.patch
+15
-0
contrib/src/dvdread/rules.mak
contrib/src/dvdread/rules.mak
+3
-0
No files found.
contrib/src/dvdread/dvdread-css-static-osx.patch
0 → 100644
View file @
ebb35e01
--- dvdread/configure.ac.orig 2011-11-23 00:23:45.017580484 -0500
+++ dvdread/configure.ac 2011-11-23 00:24:23.381770721 -0500
@@ -170,9 +170,10 @@
saved_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -L$dvdcss_path/lib"
AC_CHECK_LIB(dvdcss, dvdcss_interface_2,
- [ CSS_LIBS="-L$dvdcss_path/lib -R$dvdcss_path/lib -ldvdcss"
+ [ CSS_LIBS="-L$dvdcss_path/lib -R$dvdcss_path/lib -ldvdcss -Wl,-framework,CoreFoundation -Wl,-framework,IOKit"
CSS_CFLAGS=-I$dvdcss_path/include ],
- AC_MSG_ERROR(You need libdvdcss.so.2 or later)
+ AC_MSG_ERROR(You need libdvdcss.so.2 or later),
+ [-Wl,-framework,CoreFoundation -Wl,-framework,IOKit]
)
CFLAGS=$saved_CFLAGS
dnl -w added to shutup GCC3.1's cpp warning about -I/usr/local
contrib/src/dvdread/rules.mak
View file @
ebb35e01
...
...
@@ -18,6 +18,9 @@ $(TARBALLS)/libdvdread-$(LIBDVDREAD_VERSION).tar.bz2:
dvdread
:
libdvdread-$(LIBDVDREAD_VERSION).tar.bz2 .sum-dvdread
$(UNPACK)
$(APPLY)
$(SRC)
/dvdread/dvdread-css-static.patch
ifdef
HAVE_MACOSX
$(APPLY)
$(SRC)
/dvdread/dvdread-css-static-osx.patch
endif
ifdef
HAVE_WIN32
$(APPLY)
$(SRC)
/dvdread/dvdread-win32.patch
endif
...
...
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