--- restricted-plugin-ptw/Makefile.orig 2016-07-02 18:06:10 UTC +++ restricted-plugin-ptw/Makefile @@ -9,8 +9,8 @@ top_builddir = $(BLDHOME) PLUGINLDFLAGS += -shared -rdynamic LIBS += -lstdc++ -lssl -lpthread -lcrypto -CFLAGS += -I$(KIS_INC_DIR) -g -fPIC -CXXFLAGS += -I$(KIS_INC_DIR) -g -fPIC +CFLAGS += -I$(KIS_INC_DIR) -fPIC +CXXFLAGS += -I$(KIS_INC_DIR) -fPIC PLUGOBJS = aircrack-crypto.o aircrack-ptw2-lib.o aircrack-kismet.o PLUGOUT = aircrack-kismet.so @@ -22,7 +22,7 @@ $(PLUGOUT): $(PLUGOBJS) install: $(PLUGOUT) mkdir -p $(DESTDIR)/$(plugindir) - $(INSTALL) -o $(INSTUSR) -g $(INSTGRP) -m 644 $^ $(DESTDIR)/$(plugindir)/$^ + $(INSTALL) -m 644 $(PLUGOUT) $(DESTDIR)/$(plugindir)/$(PLUGOUT) userinstall: $(PLUGOUT) mkdir -p ${HOME}/.kismet/plugins/