diff --git a/Makefile b/Makefile index 8de85905..29bbe0df 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ target/release/libatc_router.%: src/*.rs install: $(INSTALL) -d $(DESTDIR)$(LUA_LIB_DIR)/resty/router/ $(INSTALL) -m 664 lib/resty/router/*.lua $(DESTDIR)$(LUA_LIB_DIR)/resty/router/ - $(INSTALL) -m 775 target/release/libatc_router.$(SHLIB_EXT) $(DESTDIR)$(LUA_LIB_DIR)/libatc_router.so + $(INSTALL) -m 775 target/*/release/libatc_router.$(SHLIB_EXT) $(DESTDIR)$(LUA_LIB_DIR)/libatc_router.so clean: rm -rf target