From 0926f905049a6ceda3bd88cb3a34891050c9d882 Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Tue, 18 Nov 2014 16:51:57 +0100 Subject: [PATCH] fix makefile for ubuntu --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 6d09c66776..b785e4c01b 100644 --- a/makefile +++ b/makefile @@ -36,7 +36,7 @@ CPPUNIT_EXISTS = $(shell g++ -c -o /dev/null -xc++ - <<< \\\#include\ \<cppunit/ ifneq (0, $(CPPUNIT_EXISTS)) $(error You need cppunit installed) endif -CPPUNIT_SO_TMP = $(shell ld --verbose | grep SEARCH | tr \ \\\n | sed \s/SEARCH_DIR\(\"\\\(.*\\\)\"\)\;/\\\1/g\ | sort -u | sed \s/$$/\\/libcppunit.so/g\) +CPPUNIT_SO_TMP = $(shell ld --verbose | grep SEARCH | tr \ \\\n | sed s/SEARCH_DIR//g | sed s/\(\\\"//g | sed s/\\\"\)\\\;//g | sed s/^=//g | sort -u | sed \s/$$/\\/libcppunit.so/g\) CPPUNIT_SO_EXISTS = $(shell ls $(CPPUNIT_SO_TMP) 2>/dev/null | wc -l) ifeq (0, $(CPPUNIT_SO_EXISTS)) $(error You need cppunit installed) -- GitLab