[banshee] [build] Ensure karma-sharp's DLLmap is copied in the build



commit f0200bc73e5b14ac123ead62b7e18c1db8dfe996
Author: Iain Lane <laney ubuntu com>
Date:   Thu Nov 25 11:42:21 2010 +0000

    [build] Ensure karma-sharp's DLLmap is copied in the build
    
    Sync up karma-sharp's ASSEMBLIES discovery code with that in use by
    gio. Ensures that the DLLmap and debugging libraries, if present, will
    be copied. Fixes bgo#635776.
    
    Signed-off-by: Bertrand Lorentz <bertrand lorentz gmail com>

 build/m4/banshee/dap-karma.m4 |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/build/m4/banshee/dap-karma.m4 b/build/m4/banshee/dap-karma.m4
index ddb05b3..202fd10 100644
--- a/build/m4/banshee/dap-karma.m4
+++ b/build/m4/banshee/dap-karma.m4
@@ -12,7 +12,12 @@ AC_DEFUN([BANSHEE_CHECK_DAP_KARMA],
 		enable_karmasharp="$enable_karmasharp", enable_karmasharp=no)
 
 	if test "x$enable_karmasharp" = "xyes"; then
-		KARMASHARP_ASSEMBLIES="`$PKG_CONFIG --variable=Libraries karma-sharp`"
+		asms="`$PKG_CONFIG --variable=Libraries karma-sharp`"
+		for asm in $asms; do
+			KARMASHARP_ASSEMBLIES="$KARMASHARP_ASSEMBLIES $asm"
+			[[ -r "$asm.config" ]] && KARMASHARP_ASSEMBLIES="$KARMASHARP_ASSEMBLIES $asm.config"
+			[[ -r "$asm.mdb" ]] && KARMASHARP_ASSEMBLIES="$KARMASHARP_ASSEMBLIES $asm.mdb"
+		done
 		AC_SUBST(KARMASHARP_ASSEMBLIES)
 		AC_SUBST(KARMASHARP_LIBS)
 	fi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]