--- WINGs/Makefile.in.orig	2020-08-13 06:26:57 UTC
+++ WINGs/Makefile.in
@@ -141,8 +141,7 @@ am__uninstall_files_from_dir = { \
   }
 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)"
 LTLIBRARIES = $(lib_LTLIBRARIES)
-libWINGs_la_DEPENDENCIES = libWUtil.la \
-	$(top_builddir)/wrlib/libwraster.la
+libWINGs_la_DEPENDENCIES = libWUtil.la
 am_libWINGs_la_OBJECTS = configuration.lo dragcommon.lo \
 	dragdestination.lo dragsource.lo selection.lo wappresource.lo \
 	wballoon.lo wbox.lo wbrowser.lo wbutton.lo wcolor.lo \
@@ -478,8 +477,8 @@ DIST_SUBDIRS = $(SUBDIRS) Tests Examples Extras
 libWINGs_la_LDFLAGS = -version-info @WINGS_VERSION@
 libWUtil_la_LDFLAGS = -version-info @WUTIL_VERSION@
 lib_LTLIBRARIES = libWUtil.la libWINGs.la
-LDADD = libWUtil.la libWINGs.la $(top_builddir)/wrlib/libwraster.la @INTLIBS@
-libWINGs_la_LIBADD = libWUtil.la $(top_builddir)/wrlib/libwraster.la @XLIBS@ @XFT_LIBS@ @FCLIBS@ @LIBM@ @PANGO_LIBS@
+LDADD = libWUtil.la libWINGs.la -lwraster @INTLIBS@
+libWINGs_la_LIBADD = libWUtil.la -lwraster @XLIBS@ @XFT_LIBS@ @FCLIBS@ @LIBM@ @PANGO_LIBS@
 libWUtil_la_LIBADD = @LIBBSD@
 EXTRA_DIST = BUGS make-rgb Examples Extras Tests
 
@@ -553,7 +552,7 @@ libWUtil_la_SOURCES = \
 AM_CFLAGS = 
 AM_CPPFLAGS = -DRESOURCE_PATH=\"$(datadir)/WINGs\" \
 	 -I$(top_srcdir)/WINGs/WINGs -I$(top_builddir)/WINGs/WINGs \
-	 -I$(top_builddir)/wrlib -I$(top_srcdir)/src \
+	 -DPREFIX=\"$(prefix)\" -I$(top_srcdir)/src \
 	@XFT_CFLAGS@ @HEADER_SEARCH_PATH@
 
 pkgconfigdir = $(prefix)/libdata/pkgconfig
