[Bug 57] Default extensions Makefile breaks with NO_SHARED_LIBS and DO_IPV6

bugzilla-daemon@netfilter.org bugzilla-daemon@netfilter.org
Wed, 05 Mar 2003 09:09:23 +0100


https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=57

rpb@community.net.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From rpb@community.net.uk  2003-03-05 09:09 -------
That didn't fix entensions/Makefile as required because it doesn't prevent the 
IPv6 objects from being added if NO_SHARED_LIBS is defined.  I meant this:

diff -c -r1.30 Makefile
*** extensions/Makefile 4 Mar 2003 23:15:42 -0000       1.30
--- extensions/Makefile 5 Mar 2003 08:07:10 -0000
***************
*** 30,38 ****
--- 30,41 ----
  EXT_OBJS+=$(foreach T,$(PF_EXT_SLIB),extensions/libipt_$(T).o)
  EXT_FUNC+=$(foreach T,$(PF_EXT_SLIB),ipt_$(T))
  EXT_OBJS+= extensions/initext.o
+
+ ifeq ($(DO_IPV6), 1)
  EXT6_OBJS+=$(foreach T,$(PF6_EXT_SLIB),extensions/libip6t_$(T).o)
  EXT6_FUNC+=$(foreach T,$(PF6_EXT_SLIB),ip6t_$(T))
  EXT6_OBJS+= extensions/initext6.o
+ endif
  endif

  ifndef TOPLEVEL_INCLUDED




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.