From: Phil Sutter <phil@nwl.cc>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org
Subject: [nft PATCH v2] Make libnftables a local static library
Date: Thu, 30 Nov 2017 19:36:23 +0100 [thread overview]
Message-ID: <20171130183623.19719-1-phil@nwl.cc> (raw)
In-Reply-To: <20171130183008.GP32305@orbyte.nwl.cc>
This changes Makefiles so that libnftables is built into a static
library which is not installed. This allows for incompatible changes
while still providing a library to link to for testing purposes.
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
Changes since v1:
- Keep it a libtool library.
- Update src/.gitignore.
---
src/.gitignore | 1 +
src/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/.gitignore b/src/.gitignore
index 36d6acd1e4d01..e27d4f8431eec 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -1,3 +1,4 @@
+libnftables.a
libnftables.la
parser.c
parser.h
diff --git a/src/Makefile.am b/src/Makefile.am
index 9f7a4bfbb90a4..7581ec2090092 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -27,7 +27,7 @@ parser_bison.o scanner.o: AM_CFLAGS += -Wno-missing-prototypes -Wno-missing-decl
BUILT_SOURCES = parser_bison.h
-lib_LTLIBRARIES = libnftables.la
+noinst_LTLIBRARIES = libnftables.la
libnftables_la_SOURCES = \
rule.c \
--
2.13.1
next prev parent reply other threads:[~2017-11-30 18:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-24 14:02 static libnftables by now? Pablo Neira Ayuso
2017-11-30 17:11 ` [nft PATCH] Make libnftables a local static library Phil Sutter
2017-11-30 17:36 ` Jan Engelhardt
2017-11-30 18:30 ` Phil Sutter
2017-11-30 18:36 ` Phil Sutter [this message]
2017-12-04 10:06 ` [nft PATCH v2] " Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171130183623.19719-1-phil@nwl.cc \
--to=phil@nwl.cc \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).