diff --git a/jrl-walkgen-v3/Makefile b/jrl-walkgen-v3/Makefile
index 8ea0ae7b6a282ad6729252b8331884abe5dd4ff5..a7a15019a8901a222055cc351d905808a1d5936a 100644
--- a/jrl-walkgen-v3/Makefile
+++ b/jrl-walkgen-v3/Makefile
@@ -23,6 +23,7 @@ PKG_OPTION_SET.debug:=	CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Debug
 # Build the package in a separate directory
 CONFIGURE_DIRS=		_build
 CMAKE_ARG_PATH=		..
+CMAKE_ARGS+=    -DCMAKE_INSTALL_LIBDIR=lib
 
 pre-configure:
 	${RUN}${MKDIR} ${WRKSRC}/_build