Skip to content
Snippets Groups Projects
Commit 0926f905 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

fix makefile for ubuntu

parent 4d2e6d8c
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ CPPUNIT_EXISTS = $(shell g++ -c -o /dev/null -xc++ - <<< \\\#include\ \<cppunit/ ...@@ -36,7 +36,7 @@ CPPUNIT_EXISTS = $(shell g++ -c -o /dev/null -xc++ - <<< \\\#include\ \<cppunit/
ifneq (0, $(CPPUNIT_EXISTS)) ifneq (0, $(CPPUNIT_EXISTS))
$(error You need cppunit installed) $(error You need cppunit installed)
endif 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) CPPUNIT_SO_EXISTS = $(shell ls $(CPPUNIT_SO_TMP) 2>/dev/null | wc -l)
ifeq (0, $(CPPUNIT_SO_EXISTS)) ifeq (0, $(CPPUNIT_SO_EXISTS))
$(error You need cppunit installed) $(error You need cppunit installed)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment