ifolder/net-misc/simias/files/simias-1.8.2-libflaim-1.patch
geos_one 2bb9cb61b7 bump
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@2911 6952d904-891a-0410-993b-d76249ca496b
2011-06-08 15:26:24 +00:00

14 lines
595 B
Diff

Index: simias/src/core/FlaimProvider/FlaimWrapper/Makefile.am
===================================================================
--- simias.orig/src/core/FlaimProvider/FlaimWrapper/Makefile.am 2010-01-08 18:51:33.008276340 -0200
+++ simias/src/core/FlaimProvider/FlaimWrapper/Makefile.am 2010-01-08 18:52:13.758276141 -0200
@@ -91,7 +91,7 @@
lib=@LIB64@
# NOTE: The following is a _hack_.
-LIBFLAIM_LIBS_HACK = "-lpthread -lrt -lstdc++ -ldl -lncurses /usr/$(lib)/libflaim.a"
+LIBFLAIM_LIBS_HACK = $(shell pkg-config --libs libflaim)
libFlaimWrapper_la_LDFLAGS = $(LIBFLAIM_LIBS_HACK)