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 wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to