Browse Source

fix install on ubuntu 18.04

pull/20/head
Stefan Schwarz 6 years ago
parent
commit
3624c9f268
  1. 6
      src/Makefile.xtables

6
src/Makefile.xtables

@ -6,7 +6,11 @@ clean: @@ -6,7 +6,11 @@ clean:
rm -f $(LIBS)
install:
install -g root -o root -m 644 $(LIBS) /lib/xtables/
if [ -d /usr/lib/x86_64-linux-gnu/xtables ]; then \
install -g root -o root -m 644 $(LIBS) /usr/lib/x86_64-linux-gnu/xtables; \
else \
install -g root -o root -m 644 $(LIBS) /lib/xtables/ ; \
fi
lib%.so: lib%.o
gcc -shared -fPIC -o $@ $^;

Loading…
Cancel
Save