vapier pushed a commit to branch master.

http://git.enlightenment.org/legacy/imlib2.git/commit/?id=4f36e69934ebf520a3b677c344f4b0db6e2d1400

commit 4f36e69934ebf520a3b677c344f4b0db6e2d1400
Author: Mike Frysinger <[email protected]>
Date:   Mon Jul 28 23:01:23 2014 -0400

    do not link with X libs when X is disabled
    
    URL: https://bugs.gentoo.org/517670
---
 src/lib/Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index b03f753..93c708f 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -84,7 +84,10 @@ AMD64_OBJS = $(AMD64_SRCS:.S=.lo)
 
 EXTRA_DIST = $(MMX_SRCS) $(AMD64_SRCS) asm_loadimmq.S
 
-MY_LIBS = -lXext -lX11 $(FREETYPE_LIBS) $(DLOPEN_LIBS) -lm
+MY_LIBS = $(FREETYPE_LIBS) $(DLOPEN_LIBS) -lm
+if BUILD_X11
+MY_LIBS += -lXext -lX11
+endif
 
 if BUILD_MMX
 libImlib2_la_LIBADD       = $(MMX_OBJS) $(MY_LIBS)

-- 


Reply via email to