forked from old/legacy-imlib2
do not link with X libs when X is disabled
URL: https://bugs.gentoo.org/517670
This commit is contained in:
parent
cfa257c01f
commit
4f36e69934
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue