Previous: Distributing, Up: Integrating libtool


5.5 スタティックのみのライブラリ

パッケージを開発しているとき,パッケージを‘--disable-shared’フラ グでコンフィグレーションしたり,AC_DISABLE_SHAREDAutoconfマクロ (see The AC_PROG_LIBTOOL macro)を使用し て,AC_PROG_LIBTOOLのデフォルトに優先することに価値があることも よくあります.これは,libtoolが共有ライブラリをビルドすることを避け, それには,いくつかの利点があります.

パッケージのREADMEに,他の開発者に‘--disable-shared’で時間 を稼げることを知らせるため,ちょっとした注意を書きたいかもしれません. 以下の例の注意は,GIMP1 配布物のREADMEから持ってきました.

     The GIMP uses GNU Libtool in order to build shared libraries on a
     variety of systems. While this is very nice for making usable
     binaries, it can be a pain when trying to debug a program. For that
     reason, compilation of shared libraries can be turned off by
     specifying the ‘--disable-shared’ option to configure.

Footnotes

[1] 思い切りがよくない人のためのGNU Image Manipulation Programです.http://www.gimp.org/を参照してください.