From 698c33dea3120d4cd2863bcdfdd3321e204d51a9 Mon Sep 17 00:00:00 2001 From: ymmt2005 Date: Wed, 19 Feb 2014 01:19:09 +0900 Subject: [PATCH] Change the way to obtain clang library path. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3428802..9491835 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ CXXFLAGS = -std=gnu++11 $(OPTFLAGS) $(DEBUGFLAGS) $(shell getconf LFS_CFLAGS) $( LDFLAGS = -L. $(shell getconf LFS_LDFLAGS) LIBTCMALLOC = -ltcmalloc_minimal LDLIBS = $(shell getconf LFS_LIBS) -lyrmcds $(LIBTCMALLOC) -latomic -lpthread -CLDOC = LD_LIBRARY_PATH=/usr/local/clang/lib cldoc +CLDOC := LD_LIBRARY_PATH=$(shell llvm-config --libdir) cldoc HEADERS = $(wildcard src/*.hpp cybozu/*.hpp) SOURCES = $(wildcard src/*.cpp cybozu/*.cpp)