diff --git a/src/Makefile.am b/src/Makefile.am
index 8a563f5ac4546392c9a1d1915973b9d6914ccd0c..9c14263c40fdf1e498ad188c2c8df26251425d5d 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
# strftime is here because we do not usually need it. unices have propper
# iso date support
EXTRA_DIST= librrd.pc.in strftime.c strftime.h rrd_getopt.c rrd_getopt1.c rrd_getopt.h \
- win32comp.c rrd_thread_safe_nt.c get_ver.awk librrd.sym
+ win32comp.c rrd_thread_safe_nt.c get_ver.awk librrd.sym.in.in
+
+librrd.sym: librrd.sym.in
+ grep -v LIBC_HAS_GETOPT_LONG librrd.sym.in >$@