libidn: disable C# directly

Submitted by zhangxiao on Jan. 13, 2014, 9:38 a.m.

Details

Message ID 1389605906-16202-1-git-send-email-xiao.zhang@windriver.com
State Accepted
Commit b4c4923d2e1035a036d04199c0acff6ccdd49cfe
Headers show

Commit Message

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 hide | download patch | download mbox

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
 }