hmm never mind.. a -I not a -l... ARGH!

SVN revision: 12735
This commit is contained in:
Carsten Haitzler 2005-01-04 14:07:03 +00:00
parent 384e7c6c78
commit e4170fb2bf
2 changed files with 2 additions and 23 deletions

View File

@ -265,7 +265,7 @@ AC_CHECK_HEADER(X11/Xcursor/Xcursor.h, [
AC_CHECK_LIB(Xcursor, XcursorImageLoadCursor, [
AC_DEFINE(ECORE_XCURSOR, 1, [Build support for Xcursor])
Xcursor_cflags=""
Xcursor_libs="-IXcursor"
Xcursor_libs="-lXcursor"
use_Xcursor="yes"
], [
Xcursor_cflags=""

View File

@ -15,8 +15,6 @@ libecore_x_la_LDFLAGS = -version-info 1:0:0 \
-L$(top_builddir)/src/lib/ecore_txt/.libs \
-L$(top_builddir)/src/lib/ecore_job/.libs
XCURSOR_LIBS=@Xcursor_libs@
if BUILD_ECORE_X
lib_LTLIBRARIES = libecore_x.la
@ -41,27 +39,8 @@ ecore_x_pixmap.c \
ecore_x_gc.c \
ecore_x_private.h
### FUCK FUCK FIXME:
# This line:
###@Xcursor_libs@ \
# has been replaced by
###-lXcursor
# because -f or some unknonw reason libtool REFUSES to put -lXcursor into the
# .la file for libecore_x in the dependency libs UNLESS this is explicitly
# states and not used as a replace term. if someone knows why... let me know
# and send patches... but i'm fresh out of ideas.
#
# After trying to get this working for the last 2+ hours... i only have one
# thing to say... FUCK YOU LIBSPLEEN! FUCK YOU!
#
# GRRRR... (this is just an example of what shits developers off about auto
# foo - somehting that should obviously "just work" and if i make my own
# Makefiles it works. its happy. but once you go through the 368 layers of
# autofuck things mysteriously stop working and if you're lucky you may just
# run across a workaround as I have here... ARGH!)
libecore_x_la_LIBADD = \
-lXcursor \
@Xcursor_libs@ \
@x_ldflags@ \
@x_libs@ \
$(top_builddir)/src/lib/ecore/libecore.la \