分类: LINUX
2013-02-28 12:04:46
makefile文件
compile:
@echo "############################################";make install;
其中 diff-xx.patch文件为补丁文件
diff-alsa-lib-1.10.13-01.patch:
--- src/control/control.c.orig 2006-09-29 19:42:56.000000000 +0800
+++ src/control/control.c 2007-12-13 14:47:18.000000000 +0800
@@ -856,7 +856,10 @@
goto _err;
}
lib = buf1;
- sprintf(buf1, "%s/libasound_module_ctl_%s.so", PKGLIBDIR, str);
+ /* sprintf(buf1, "%s/libasound_module_ctl_%s.so", PKGLIBDIR, str);
+ * to avoid dynamic library load issue during cross compile,
+ * don't use absolute path here */
+ sprintf(buf1, "libasound_module_ctl_%s.so", str);
}
}
#ifndef PIC