Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
8aa88787
Commit
8aa88787
authored
Jul 24, 2007
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- mingw32: fix libtool linking.
parent
935af8b0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
10 deletions
+17
-10
bootstrap
bootstrap
+0
-4
configure.ac
configure.ac
+17
-6
No files found.
bootstrap
View file @
8aa88787
...
@@ -221,11 +221,7 @@ EXTRA_LTLIBRARIES = ${extra_ltlibs}
...
@@ -221,11 +221,7 @@ EXTRA_LTLIBRARIES = ${extra_ltlibs}
include Modules.am
include Modules.am
if HAVE_WIN32
LTLIBVLC = -L\$(top_builddir)/src -lvlc.dll
else
LTLIBVLC = -L\$(top_builddir)/src -lvlc
LTLIBVLC = -L\$(top_builddir)/src -lvlc
endif
AM_LDFLAGS = -rpath '\$(libvlcdir)' -avoid-version \\
AM_LDFLAGS = -rpath '\$(libvlcdir)' -avoid-version \\
-module -no-undefined -shrext \$(LIBEXT) \\
-module -no-undefined -shrext \$(LIBEXT) \\
...
...
configure.ac
View file @
8aa88787
...
@@ -220,7 +220,6 @@ case "${host_os}" in
...
@@ -220,7 +220,6 @@ case "${host_os}" in
;;
;;
*mingw32* | *cygwin* | *wince* | *mingwce* | *pe*)
*mingw32* | *cygwin* | *wince* | *mingwce* | *pe*)
AC_CHECK_TOOL(WINDRES, windres, :)
AC_CHECK_TOOL(WINDRES, windres, :)
enable_libtool="no"
case "${host_os}" in
case "${host_os}" in
*mingw32*)
*mingw32*)
...
@@ -242,7 +241,6 @@ case "${host_os}" in
...
@@ -242,7 +241,6 @@ case "${host_os}" in
if test "${SYS}" = "mingw32"; then
if test "${SYS}" = "mingw32"; then
# add ws2_32 for closesocket, select, recv
# add ws2_32 for closesocket, select, recv
CPPFLAGS_save="${CPPFLAGS_save} -D_OFF_T_ -D_off_t=long"; CPPFLAGS="${CPPFLAGS_save}"
VLC_ADD_LDFLAGS([libvlc],[-lws2_32 -lnetapi32 -lwinmm])
VLC_ADD_LDFLAGS([libvlc],[-lws2_32 -lnetapi32 -lwinmm])
VLC_ADD_LDFLAGS([vlc activex mozilla],[-mwindows])
VLC_ADD_LDFLAGS([vlc activex mozilla],[-mwindows])
VLC_ADD_LDFLAGS([cdda vcdx cddax],[-lwinmm])
VLC_ADD_LDFLAGS([cdda vcdx cddax],[-lwinmm])
...
@@ -250,7 +248,6 @@ case "${host_os}" in
...
@@ -250,7 +248,6 @@ case "${host_os}" in
fi
fi
if test "${SYS}" = "mingwce"; then
if test "${SYS}" = "mingwce"; then
# add ws2 for closesocket, select, recv
# add ws2 for closesocket, select, recv
CPPFLAGS_save="${CPPFLAGS_save} -D_OFF_T_ -D_off_t=long"; CPPFLAGS="${CPPFLAGS_save}"
VLC_ADD_CPPFLAGS([libvlc vlc],[-Dmain(a,b)=maince(a,b)])
VLC_ADD_CPPFLAGS([libvlc vlc],[-Dmain(a,b)=maince(a,b)])
VLC_ADD_LDFLAGS([libvlc vlc],[-lws2 -e WinMainCRTStartup])
VLC_ADD_LDFLAGS([libvlc vlc],[-lws2 -e WinMainCRTStartup])
VLC_ADD_LDFLAGS([access_http access_mms access_udp access_tcp access_ftp access_output_udp sap http netsync],[-lws2])
VLC_ADD_LDFLAGS([access_http access_mms access_udp access_tcp access_ftp access_output_udp sap http netsync],[-lws2])
...
@@ -317,13 +314,25 @@ dnl Libtool
...
@@ -317,13 +314,25 @@ dnl Libtool
dnl It's very bad, but our former custom system was worst
dnl It's very bad, but our former custom system was worst
dnl -- Courmisch
dnl -- Courmisch
dnl
dnl
dnl override platform specific check for dependent libraries
dnl otherwise libtool linking of shared libraries will
dnl fail on anything other than pass_all.
AC_CACHE_CHECK([how to recognize dependent libraries],
lt_cv_deplibs_check_method,
[lt_cv_deplibs_check_method=pass_all
])
AC_DISABLE_STATIC
AC_DISABLE_STATIC
AC_LIBTOOL_DLOPEN
AC_LIBTOOL_DLOPEN
dnl AC_LIBTOOL_WIN32_DLL - couldn't get libtool to work on Win32 so far
AC_LIBTOOL_WIN32_DLL
m4_undefine([AC_PROG_F77])
m4_undefine([AC_PROG_F77])
m4_defun([AC_PROG_F77],[])
m4_defun([AC_PROG_F77],[])
AC_PROG_LIBTOOL
AC_PROG_LIBTOOL
m4_undefine([AC_DEPLIBS_CHECK_METHOD])
m4_defun([AC_DEPLIBS_CHECK_METHOD],[])
AC_ARG_ENABLE(libtool,
AC_ARG_ENABLE(libtool,
[ --enable-libtool use libtool (default enabled)])
[ --enable-libtool use libtool (default enabled)])
AS_IF([test "x{enable_libtool}" = "xno"], [
AS_IF([test "x{enable_libtool}" = "xno"], [
...
@@ -331,6 +340,8 @@ AS_IF([test "x{enable_libtool}" = "xno"], [
...
@@ -331,6 +340,8 @@ AS_IF([test "x{enable_libtool}" = "xno"], [
])
])
AM_CONDITIONAL(USE_LIBTOOL, [test "x${enable_libtool}" != "xno"] )
AM_CONDITIONAL(USE_LIBTOOL, [test "x${enable_libtool}" != "xno"] )
lt_cv_deplibs_check_method=pass_all
dnl
dnl
dnl Check for Mac OS X SDK settings
dnl Check for Mac OS X SDK settings
...
@@ -5942,17 +5953,17 @@ AS_IF([${plugin_support}], [
...
@@ -5942,17 +5953,17 @@ AS_IF([${plugin_support}], [
dnl
dnl
dnl Pic and shared libvlc stuff
dnl Pic and shared libvlc stuff
dnl
dnl
AS_IF([test "${
SYS}" = "mingw32" || test "${
enable_libtool}" != "no"], [
AS_IF([test "${enable_libtool}" != "no"], [
AC_DEFINE(HAVE_SHARED_LIBVLC, 1, [Define to 1 if libvlc is built as a shared library.])
AC_DEFINE(HAVE_SHARED_LIBVLC, 1, [Define to 1 if libvlc is built as a shared library.])
VLC_ADD_PLUGINS([${BUILTINS}])
VLC_ADD_PLUGINS([${BUILTINS}])
AS_IF([test "${SYS}" = "mingw32"], [
AS_IF([test "${SYS}" = "mingw32"], [
FILE_LIBVLC_DLL="!define LIBVLC_DLL libvlc.dll"
FILE_LIBVLC_DLL="!define LIBVLC_DLL libvlc.dll"
VLC_ADD_CPPFLAGS([libvlc],[-DDLL_EXPORT])
])
])
BUILTINS=""
BUILTINS=""
], [
], [
LDFLAGS_vlc="${LDFLAGS_vlc} ${LDFLAGS_libvlc}"
LDFLAGS_vlc="${LDFLAGS_vlc} ${LDFLAGS_libvlc}"
FILE_LIBVLC_DLL=""
FILE_LIBVLC_DLL=""
VLC_ADD_CPPFLAGS([libvlc],[-DDLL_EXPORT])
])
])
dnl
dnl
...
...
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