xref: /OK3568_Linux_fs/buildroot/package/softether/0006-cross-compile.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Host version of hamcorebuilder is needed during cross-compile
2
3Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
4
5diff -uNr SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824.org/src/bin/hamcore/Makefile.am SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824/src/bin/hamcore/Makefile.am
6--- SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824.org/src/bin/hamcore/Makefile.am	2014-09-27 12:56:53.108725793 +0200
7+++ SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824/src/bin/hamcore/Makefile.am	2014-09-27 12:57:50.280009025 +0200
8@@ -26,8 +26,8 @@
9
10 noinst_PROGRAMS = hamcore.se2
11
12-hamcore.se2$(EXEEXT): $(HAMCOREBUILDER)
13-	$(HAMCOREBUILDER) $(top_srcdir)/src/bin/hamcore $@
14+hamcore.se2$(EXEEXT):
15+	hamcorebuilder $(top_srcdir)/src/bin/hamcore $@
16
17 install-exec-local: hamcore.se2$(EXEEXT)
18 	$(INSTALL_DATA) -D hamcore.se2$(EXEEXT) $(DESTDIR)$(localstatedir)/lib/softether/hamcore.se2
19diff -uNr SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824.org/src/Makefile.am SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824/src/Makefile.am
20--- SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824.org/src/Makefile.am	2014-09-27 12:56:53.136726809 +0200
21+++ SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824/src/Makefile.am	2014-09-27 12:58:12.959723109 +0200
22@@ -20,7 +20,7 @@
23 SUBDIRS = Mayaqua Cedar
24
25 # This is a nodist helper.
26-SUBDIRS += hamcorebuilder
27+# SUBDIRS += hamcorebuilder
28
29 # These are shared components.
30 SUBDIRS += libsoftether bin/hamcore
31