1
0

200-fix_compile_kmod.patch 505 B

1234567891011121314151617
  1. --- a/src/linux/Makefile
  2. +++ b/src/linux/Makefile
  3. @@ -21,11 +21,11 @@ lib%.so: lib%.o
  4. $(CC) $(CFLAGS) -shared -o $@ $^;
  5. lib%.o: lib%.c
  6. - $(CC) $(CFLAGS) -fPIC -O2 -Wall -I${KERNEL_DIR}/include -D_INIT=lib$*_init -c -o $@ $<;
  7. + $(CC) $(CFLAGS) -D_INIT=lib$*_init -c -o $@ $<;
  8. install: modules_install libxt_coova.so
  9. - mkdir -p $(DESTDIR)/lib/xtables/
  10. - cp libxt_coova.so $(DESTDIR)/lib/xtables/
  11. + mkdir -p $(DESTDIR)/usr/lib/iptables/
  12. + cp libxt_coova.so $(DESTDIR)/usr/lib/iptables/
  13. distdir: