fix install on ubuntu 18.04
This commit is contained in:
parent
48406ee5a1
commit
3624c9f268
@ -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…
x
Reference in New Issue
Block a user