From a62734096cac33d95d56ce0f7f4388381c79e796 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 22 Dec 2006 00:31:31 +0000 Subject: [PATCH] README.Debian: Use "-fPIC" when compiling myplugin.c. This is required on some architectures (e.g. amd64) and does not hurt on other architectures. --- debian/README.Debian | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2