summaryrefslogtreecommitdiff
path: root/media-gfx/xpaint/files/xpaint-3.1.4-gentoo-shared-lib.patch
blob: b05500ea6f758ab9883b2c4f923604740d277fe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
xpaint was compiling and installing a shared library but it was not using it, linking with the static one instead
This patch attempts to link with libxpaintrw.so instead
So we can pass --disable-static to configure

--- a/Makefile.am
+++ b/Makefile.am
@@ -79,7 +79,7 @@
 
 xpaint_SOURCES = $(BASE_HDRS) $(BASE_SRCS)
 
-xpaint_LDADD = xpaintrw/.libs/libxpaintrw.a @X_LIBS@ @X_LIBS_EXTRA@
+xpaint_LDADD = -Lxpaintrw/.libs -lxpaintrw @X_LIBS@ @X_LIBS_EXTRA@
 
 docs: INSTALL README TODO ChangeLog
 .PHONY: