在 2019/12/24 23:29, Mateusz 写道:
> Hi,
> 
> After this patch I can't build cross compiler under Ubuntu:
> *****
> rm -f lib64/libmincore.a
> cd lib64/ && x86_64-w64-mingw32-ar -M < 
> /home/ma/m/source/mingw-w64-v7/mingw-w64-crt/lib-common/mincore.mri
> x86_64-w64-mingw32-ar: libwebsocket.a: No such file or directory
> Makefile:69387: recipe for target 'lib64/libmincore.a' failed
> make[1]: *** [lib64/libmincore.a] Error 9
> *****
> 
> 

Sorry for the inconvenience. Please test the attached patch. (You might
need to invoke 'autoreconf' after applying it.)





-- 
Best regards,
LH_Mouse
From c7fb1a6e169e11811e4b4f70734e0503cda89002 Mon Sep 17 00:00:00 2001
From: Liu Hao <[email protected]>
Date: Wed, 25 Dec 2019 00:02:42 +0800
Subject: [PATCH] crt: Add missing 'libwebsocket.a' dependency

Signed-off-by: Liu Hao <[email protected]>
---
 mingw-w64-crt/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am
index 011692eb..9d2154b8 100644
--- a/mingw-w64-crt/Makefile.am
+++ b/mingw-w64-crt/Makefile.am
@@ -1849,6 +1849,7 @@ endif
                %/libuserenv.a \
                %/libwinhttp.a \
                %/libwldap32.a \
+               %/libwebsocket.a \
                %/libws2_32.a
        rm -f $@
        cd $(dir $@) && $(AR) -M < $(abspath $<)
-- 
2.24.1

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to