<html><head></head><body><div class="gmail_quote">Le 19 juillet 2017 14:46:04 GMT+08:00, Steve Lhomme <robux4@videolabs.io> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">The library is built as static so we need to tell it when compiling too.<br />---<br /> modules/stream_extractor/archive.c | 4 ++++<br /> 1 file changed, 4 insertions(+)<br /><br />diff --git a/modules/stream_extractor/archive.c b/modules/stream_extractor/archive.c<br />index b2bf4f9d47..29ab9d15e9 100644<br />--- a/modules/stream_extractor/archive.c<br />+++ b/modules/stream_extractor/archive.c<br />@@ -32,6 +32,10 @@<br /> #include <vlc_dialog.h><br /> #include <vlc_input_item.h><br /> <br />+#ifdef _WIN32<br />+#define LIBARCHIVE_STATIC<br />+#endif<br />+<br /> #include <assert.h><br /> #include <archive.h><br /> #include <archive_entry.h></pre></blockquote></div><br clear="all">Now thay seems out of place. Why should the code assume that the library is built a certain way?<br>
-- <br>
Rémi Denis-Courmont<br>
Typed on an inconvenient virtual keyboard</body></html>