[PATCH 04/11] wmhdplop: Change gkhdplop_so_LDFLAGS to gkhdplop_so_LDADD in Makefile

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
This patch prevents a "undefined symbol: imlib_image_draw_pixel" error by
placing -lImlib2 after the *.o files during make.

Patch to fix Ubuntu bug #995272.

https://bugs.launchpad.net/ubuntu/+source/wmhdplop/+bug/995272
https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/patches/
  ldflags-to-ldadd.patch/
---
 wmhdplop/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmhdplop/Makefile.am b/wmhdplop/Makefile.am
index b66692a..7870655 100644
--- a/wmhdplop/Makefile.am
+++ b/wmhdplop/Makefile.am
@@ -18,6 +18,6 @@ LIBTOOLSUX_GKHDPLOP_SRC=wmhdplop.c util.c util.h procstat.c procstat.h devnames.
 
 gkhdplop_so_SOURCES=$(LIBTOOLSUX_GKHDPLOP_SRC)
 gkhdplop_so_CFLAGS=-DGKRELLM -fPIC $(GTK2_CFLAGS) $(IMLIB2_CFLAGS)
-gkhdplop_so_LDFLAGS=-shared $(IMLIB2_LIBS) -lm
+gkhdplop_so_LDADD=-shared $(IMLIB2_LIBS) -lm
 
 all: @GKHDPLOP@
-- 
2.7.4


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.