From: Sebastian Harl Date: Fri, 22 Dec 2006 00:31:31 +0000 (+0000) Subject: README.Debian: Use "-fPIC" when compiling myplugin.c. X-Git-Tag: collectd-3.10.4-1~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a62734096cac33d95d56ce0f7f4388381c79e796;p=pkg-collectd.git README.Debian: Use "-fPIC" when compiling myplugin.c. This is required on some architectures (e.g. amd64) and does not hurt on other architectures. --- diff --git a/debian/README.Debian b/debian/README.Debian index b0b701b..121b918 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -30,7 +30,7 @@ Building your own plugins: The resulting file can be compiled as follows: - gcc -shared -o myplugin.so myplugin.c + gcc -shared -fPIC -o myplugin.so myplugin.c Copy myplugin.so to /usr/lib/collectd and add the following line to your collectd config file: