ifolder/net-misc/simias/files/simias-1.8.2-libflaim-1.patch

14 lines
595 B
Diff
Raw Permalink Normal View History

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)