From 433e123428bde28e1d903f4b6153e23f3cce87d4 Mon Sep 17 00:00:00 2001 From: Cedric Bail Date: Sun, 5 May 2013 15:57:44 +0900 Subject: [PATCH] efl: force problematic -luuid to go away from .la --- src/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index 7021ff3416..1c428c7ffc 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -99,3 +99,11 @@ clean-local: find . -type f -name '*.gcno' -delete find . -type f -name '*.gcda' -delete find . -type f -name check-results.xml -delete + +install-data-hook: + echo $(DESTDIR) + echo $(libdir) + for i in $(lib_LTLIBRARIES); do \ + export file=`basename $$i`; \ + sed -e "s/-luuid//" $(DESTDIR)/${libdir}/$$file > $(DESTDIR)/${libdir}/$$file.tmp && mv $(DESTDIR)/${libdir}/$$file.tmp $(DESTDIR)/${libdir}/$$file; \ + done