Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
9d98ad6a
Commit
9d98ad6a
authored
Apr 13, 2008
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix win32 taglib linking
Don't use the export things in taglib as we don't need it and it's buggy
parent
d3e0b1b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+5
-2
extras/contrib/src/Patches/taglib.patch
extras/contrib/src/Patches/taglib.patch
+15
-0
No files found.
extras/contrib/src/Makefile
View file @
9d98ad6a
...
...
@@ -2310,12 +2310,15 @@ taglib-$(TAGLIB_VERSION).tar.gz:
taglib
:
taglib-$(TAGLIB_VERSION).tar.gz
$(EXTRACT_GZ)
ifdef
HAVE_WIN32
patch
-p0
< Patches/taglib.patch
endif
ifdef
HAVE_CYGWIN
patch
-p0
<Patches/taglib-cygwin.patch
patch
-p0
<
Patches/taglib-cygwin.patch
endif
.tag
:
taglib
(
cd
$<
;
$(HOSTCC)
CXXFLAGS
=
"-DMAKE_TAGLIB_LIB"
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
&&
make
&&
make
install
)
(
cd
$<
;
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
&&
make
&&
make
install
)
$(INSTALL_NAME)
touch
$@
...
...
extras/contrib/src/Patches/taglib.patch
0 → 100644
View file @
9d98ad6a
diff -ru taglib-1.5/taglib/taglib_export.h taglib/taglib/taglib_export.h
--- taglib-1.5/taglib/taglib_export.h 2008-02-04 15:14:46.000000000 +0000
+++ taglib/taglib/taglib_export.h 2008-04-13 18:25:29.000000000 +0100
@@ -28,9 +28,9 @@
#if defined(_WIN32) || defined(_WIN64)
#ifdef MAKE_TAGLIB_LIB
-#define TAGLIB_EXPORT __declspec(dllexport)
+#define TAGLIB_EXPORT
#else
-#define TAGLIB_EXPORT __declspec(dllimport)
+#define TAGLIB_EXPORT
#endif
#else
#define TAGLIB_EXPORT
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