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
174bef29
Commit
174bef29
authored
Jan 12, 2007
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Twolame need -DLIBTWOLAME_STIC under win32 to use the .a
parent
d959364c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
configure.ac
configure.ac
+3
-2
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+1
-1
No files found.
configure.ac
View file @
174bef29
...
...
@@ -3020,19 +3020,20 @@ then
AC_MSG_RESULT(${real_twolame_tree}/src/libtwolame/.libs/libtwolame.a)
VLC_ADD_BUILTINS([twolame])
VLC_ADD_LDFLAGS([twolame],[${real_twolame_tree}/src/libtwolame/.libs/libtwolame.a])
VLC_ADD_CPPFLAGS([twolame],[-I${real_twolame_tree}/src/libtwolame])
VLC_ADD_CPPFLAGS([twolame],[-I${real_twolame_tree}/src/libtwolame
-DLIBTWOLAME_STATIC
])
else
dnl The given libtwolame wasn't built
AC_MSG_RESULT(no)
AC_MSG_ERROR([cannot find ${real_twolame_tree}/src/libtwolame/.libs/libtwolame.a, make sure you compiled libtwolame in ${with_twolame_tree}])
fi
else
CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_twolame}"
CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_twolame}
-DLIBTWOLAME_STATIC
"
LDFLAGS="${LDFLAGS_save} ${LDFLAGS_twolame}"
AC_CHECK_HEADERS(twolame.h, ,
[ AC_MSG_ERROR([Cannot find development header for libtwolame...]) ])
AC_CHECK_LIB(twolame, twolame_init, [
VLC_ADD_PLUGINS([twolame])
VLC_ADD_CPPFLAGS([twolame],[-DLIBTWOLAME_STATIC])
VLC_ADD_LDFLAGS([twolame],[-ltwolame]) ],
[ AC_MSG_ERROR([Cannot find libtwolame library...]) ])
LDFLAGS="${LDFLAGS_save}"
...
...
extras/contrib/src/Makefile
View file @
174bef29
...
...
@@ -1456,7 +1456,7 @@ endif
ifdef
HAVE_WIN32
(
cd
twolame/win32
;
wget
"http://twolame.svn.sourceforge.net/viewvc/*checkout*/twolame/trunk/win32/winutil.h"
)
endif
(
cd
twolame
;
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
&&
cd
libtwolame
&&
make
&&
make
install
)
(
cd
twolame
;
$(HOSTCC)
CFLAGS
=
"
${CFLAGS}
-DLIBTWOLAME_STATIC"
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
&&
cd
libtwolame
&&
make
&&
make
install
)
$(INSTALL_NAME)
touch
$@
...
...
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