How can I check with which options was program compiled?
I would like to know options which where passed to program before make, which is currently installed on my Ubuntu (from deb). I would like to compile it manualy with the same opt开发者_开发问答ions (+ some extra).
If you know what package the program came from (use dpkg -S
to find this out), you can apt-get source $SOURCEPACKAGENAME
(use apt-cache show
to find this out) the source package and study the build script in debian/rules
, which controls how the package is configured, built and split into .deb
s.
精彩评论