如何在我的项目中分发xmlrpc-c库?

时间:2010-10-29 05:08:38

标签: c plugins xmlrpcclient

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

我的问题是如何分发此库,以便其他用户无需从互联网下载/安装软件包。

如果我可以用我的.so文件分发它 - 这将是最好的。

2 个答案:

答案 0 :(得分: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. 

答案 1 :(得分:0)

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