mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-20 11:34:57 +02:00
build: remove unnecessasry --with-xtables option
Jonas Berlin notes that --with-xtables only emitted a -I parameter and -L was absent. On second look, we would also be missing -Wl,-rpath, and that would all be system-dependent. The --with-xtables option is actually not needed; one can easily specify extra include directories and linker flags by means of overriding libxtables_CFLAGS and libxtables_LIBS (even when there are no installed pkgconfig files for libxtables).
This commit is contained in:
8
INSTALL
8
INSTALL
@@ -51,7 +51,6 @@ Configuring and compiling
|
||||
For RPM building, it should be /usr/src/linux-obj/...
|
||||
or whatever location the distro makes use of.
|
||||
|
||||
--with-xtables=
|
||||
|
||||
Specifies the path to the directory where we may find
|
||||
xtables.h, should it not be within the standard C compiler
|
||||
@@ -73,6 +72,13 @@ If you want to enable debugging, use
|
||||
(-O0 is used to turn off instruction reordering, which makes debugging
|
||||
much easier.)
|
||||
|
||||
To make use of a libxtables that is not in the default path, override
|
||||
the pkgconfig variables, for example:
|
||||
|
||||
./configure libxtables_CFLAGS="-I../iptables/include" \
|
||||
libxtables_LIBS="-L../iptables/.libs \
|
||||
-Wl,-rpath,../iptables/.libs -lxtables"
|
||||
|
||||
|
||||
Build-time options
|
||||
==================
|
||||
|
Reference in New Issue
Block a user