diff -uNBbwp lightdm-webkit2-greeter-3.5.1/Makefile lightdm-webkit2-greeter-3.5.1-new/Makefile --- lightdm-webkit2-greeter-3.5.1/Makefile 2022-04-11 22:18:38.000000000 +0000 +++ lightdm-webkit2-greeter-3.5.1-new/Makefile 2022-05-10 10:22:31.989055367 +0000 @@ -219,7 +219,7 @@ bin/screensaver.so := ${BUILD_DIR}/web-g bin/screensaver.c := ${BUILD_DIR}/web-greeter/bindings/screensaver.c $(bin/screensaver.so): $(build/web-greeter) - @gcc ${bin/screensaver.c} -o ${bin/screensaver.so} -shared -lX11 -lxcb + @gcc ${bin/screensaver.c} -o ${bin/screensaver.so} -shared -fpic -lX11 -lxcb @cp ${bin/screensaver.so} src/bindings/ @echo "✔ Screensaver.so compiled"