X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/149cfc01d6b19e2427d101fbe6806093ecf7b289..3f9fdda7c6c6254a322afc2b09b33eba30a90f08:/projects/stargazer/plugins/Makefile.in

diff --git a/projects/stargazer/plugins/Makefile.in b/projects/stargazer/plugins/Makefile.in
index 7e01585e..2b255304 100644
--- a/projects/stargazer/plugins/Makefile.in
+++ b/projects/stargazer/plugins/Makefile.in
@@ -11,7 +11,7 @@ LN = ln
 CXXFLAGS += -fPIC
 LDFLAGS += -shared -L$(DIR_LIB) -Wl,-rpath,$(PREFIX)/usr/lib/stg
 
-vpath %.so $(DIR_LIB)
+vpath %.a $(DIR_LIB)
 
 all: $(PROG)
 
@@ -22,8 +22,8 @@ $(PROG): $(OBJS) $(STGLIBS)
 clean:
 	rm -f deps $(PROG) *.o tags *.*~
 
-install:
-	mkdir -m $(BIN_MODE) -p $(PREFIX)/usr/lib/stg
+install: $(PROG)
+	mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/lib/stg
 	install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/stg/$(PROG)
 
 uninstall: