0

在我的 C 项目中,我从 sourceforge.net 引用了 xmlrpc-c 库,以便使用 xmlrpc-client。

我的问题是如何分发这个库,以便其他用户不需要从互联网下载/安装包。

如果我可以将它与我的 .so 文件一起分发,那将是最好的。

4

2 回答 2

0

在什么平台上?在 Linux 上,最好的做法是不发布库,而是依赖操作系统的打包系统:只需将库列为包的依赖项即可。通常这是打包人员的工作,而不是开发人员的工作,除非您既是开发人员又是打包人员。其他操作系统可能有不同的公认做法。

于 2010-10-29T07:44:27.773 回答
0

http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/trunk/doc/COPYING?view=markup 状态:

Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions
  are met:
 1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission. 
于 2010-10-29T06:29:09.523 回答