X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..4edf68ce20f7dc22d19cd6dc390a48255f2e784a:/projects/rlm_stg/Makefile

diff --git a/projects/rlm_stg/Makefile b/projects/rlm_stg/Makefile
index deaf437e..da1a5768 100644
--- a/projects/rlm_stg/Makefile
+++ b/projects/rlm_stg/Makefile
@@ -11,8 +11,8 @@ PROG = $(LIB_NAME).so
 SRCS = ./rlm_stg.cpp \
        ./stg_client.cpp
 
-STGLIBS = -lstg_common \
-          -lstg_crypto
+STGLIBS = -lstgcommon \
+          -lstgcrypto
 
 LIBS += $(LIB_THREAD)
 
@@ -53,14 +53,13 @@ distclean: clean
 install: install-bin
 
 install-bin:
-	mkdir -m $(BIN_MODE) -p $(PREFIX)/usr/lib
 	install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/$(PROG)
 	$(MAKE) -C $(DIR_LIBSRC) install
 
 uninstall: uninstall-bin
 
 uninstall-bin:
-	rm -f $(PREFIX)/usr/sbin/$(PROG)
+	rm -f $(PREFIX)/usr/lib/$(PROG)
 
 ifneq ($(MAKECMDGOALS),distclean)
 ifneq ($(MAKECMDGOALS),clean)