]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libipq: build as shared library
authorJan Engelhardt <jengelh@medozas.de>
Mon, 28 Dec 2009 01:46:27 +0000 (02:46 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Mon, 28 Dec 2009 01:48:50 +0000 (02:48 +0100)
Antique software (see link) built as shared library requires objects
compiled with -fPIC, so the standard archive won't do.

References: http://bugs.debian.org/527733
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
libipq/Makefile.am

index f19950f46438a4064b524a83461f6ff1f93ceb7a..556a17bdb934639f106222c2f00e42820953d09b 100644 (file)
@@ -2,8 +2,8 @@
 
 AM_CFLAGS = ${regular_CFLAGS} -I${top_builddir}/include -I${top_srcdir}/include
 
-libipq_a_SOURCES = libipq.c
-lib_LIBRARIES    = libipq.a
+libipq_la_SOURCES = libipq.c
+lib_LTLIBRARIES   = libipq.la
 man_MANS         = ipq_create_handle.3 ipq_destroy_handle.3 ipq_errstr.3 \
                    ipq_get_msgerr.3 ipq_get_packet.3 ipq_message_type.3 \
                    ipq_perror.3 ipq_read.3 ipq_set_mode.3 ipq_set_verdict.3 \