diff --git a/legacy/ecore/configure.in b/legacy/ecore/configure.in index 83601580ae..63ceb44e82 100644 --- a/legacy/ecore/configure.in +++ b/legacy/ecore/configure.in @@ -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="" diff --git a/legacy/ecore/src/lib/ecore_x/Makefile.am b/legacy/ecore/src/lib/ecore_x/Makefile.am index dfcc4ac411..e6fd236c5c 100644 --- a/legacy/ecore/src/lib/ecore_x/Makefile.am +++ b/legacy/ecore/src/lib/ecore_x/Makefile.am @@ -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 \