Patchwork libidn: disable C# directly

login
register
mail settings
Submitter zhangxiao
Date Jan. 13, 2014, 9:38 a.m.
Message ID <1389605906-16202-1-git-send-email-xiao.zhang@windriver.com>
Download mbox | patch
Permalink /patch/64617/
State Accepted
Commit a8a6ccb1adbef2778940283258551b19ea4ba030
Headers show

Comments

zhangxiao - Jan. 13, 2014, 9:38 a.m.
Disable C# building with --disable-csharp instead of remove
useless binary files.

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
---
 meta/recipes-extended/libidn/libidn_1.28.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-extended/libidn/libidn_1.28.bb b/meta/recipes-extended/libidn/libidn_1.28.bb
index 5daff43..effd5ea 100644
--- a/meta/recipes-extended/libidn/libidn_1.28.bb
+++ b/meta/recipes-extended/libidn/libidn_1.28.bb
@@ -27,7 +27,8 @@  SRC_URI[sha256sum] = "dd357a968449abc97c7e5fa088a4a384de57cb36564f9d4e0d898ecc63
 PACKAGES =+ "idn"
 FILES_idn = "${bindir}/*"
 
+EXTRA_OECONF = "--disable-csharp"
+
 do_install_append() {
-	rm -rf ${D}${libdir}/Libidn.dll
 	rm -rf ${D}${datadir}/emacs
 }