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
ba98f2bd
Commit
ba98f2bd
authored
Aug 18, 2006
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed Cygwin issue when linking/building shared libvlc.dll
parent
03074537
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
bootstrap
bootstrap
+1
-1
src/Makefile.am
src/Makefile.am
+4
-3
No files found.
bootstrap
View file @
ba98f2bd
...
...
@@ -216,7 +216,7 @@ include Modules.am
LTLIBVLC =
\$
(top_builddir)/src/libvlc.la
if BUILD_SHARED
LIBVLC =
\$
(top_builddir)/src/libvlc
\$
(LIBEXT)
LIBVLC =
-L
\$
(top_builddir)/src -lvlc
LIBADD =
\$
(LIBVLC)
endif
...
...
src/Makefile.am
View file @
ba98f2bd
...
...
@@ -190,10 +190,11 @@ endif
if
HAVE_WIN32
if
BUILD_SHARED
DATA_noinst_libvlc
=
libvlc
$(LIBEXT)
DATA_noinst_libvlc
=
libvlc
$(LIBEXT)
libvlc
$(LIBEXT)
.a
endif
libvlc.dll.a
:
libvlc$(LIBEXT)
$(DLLTOOL)
--export-all-symbols
-l
$@
-D
$<
$(libvlc_a_OBJECTS)
libvlc$(LIBEXT)
:
$(OBJECTS_libvlc_so) stamp-builtins
@
ldfl
=
"
`
$(VLC_CONFIG)
--libs
plugin vlc
builtin
$(pic)
`
$(INCLUDED_LIBINTL)
"
;
\
...
...
@@ -204,12 +205,12 @@ libvlc$(LIBEXT): $(OBJECTS_libvlc_so) stamp-builtins
esac
;
\
echo
$$
ld
$(OBJECTS_libvlc_so)
$(LDFLAGS_libvlc_so)
$$
ldfl
;
\
$$
ld
$(libvlc_a_OBJECTS)
\
-Wl
,--out-implib,
$(top_builddir)
/src/libvlc.dll.a
$$
ldfl
$$
ldfl
# It sucks big time, but we have to do that to link vlc properly
# on non-PIC OSes, otherwise ld will favor builtins-less libvlc.a over
# libvlc$(LIBEXT)
rm
-f
libvlc.a
# Cygwin work-around
# Cygwin
libtool
work-around
@if
test
-f
"$@.exe"
;
then
mv
-f
"$@.exe"
"$@"
;
fi
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