--- WPrefs.app/Makefile.in.orig	2020-08-13 06:26:57 UTC
+++ WPrefs.app/Makefile.in
@@ -481,13 +481,13 @@ WPrefs_SOURCES = \
 #	Themes.c
 AM_CFLAGS = 
 AM_CPPFLAGS = -DRESOURCE_PATH=\"$(wpdatadir)\" -DWMAKER_RESOURCE_PATH=\"$(pkgdatadir)\" \
-	 -I$(top_builddir)/wrlib -I$(top_srcdir)/WINGs -I$(top_builddir)/WINGs \
+	 -DPREFIX=\"$(prefix)\" -I$(top_srcdir)/WINGs -I$(top_builddir)/WINGs \
 	 @HEADER_SEARCH_PATH@
 
 WPrefs_DEPENDENCIES = $(top_builddir)/WINGs/libWINGs.la
 WPrefs_LDADD = \
 	$(top_builddir)/WINGs/libWINGs.la\
 	$(top_builddir)/WINGs/libWUtil.la\
-	$(top_builddir)/wrlib/libwraster.la \
+	-lwraster \
 	@XLFLAGS@ @XLIBS@ \
 	@LIBM@ \
 	@FCLIBS@ \
