Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: Makefile

Issue 3032004: Link libcrash conditionally. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/metrics.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile
diff --git a/Makefile b/Makefile
index 480da220ae6ff77b4e31bb819764807e96cdae00..f3dddd87329da664907ff67b482839aca593d66a 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,8 @@ SHAREDLIB = libmetrics.so
LIB_TEST = metrics_library_test
COUNTER_TEST = counter_test
+LCRASH ?= -lcrash
+
TESTCOUNTER_OBJS = \
counter.o \
counter_test.o
@@ -53,7 +55,7 @@ $(COUNTER_TEST): $(TESTCOUNTER_OBJS)
$(CXX) -o $@ $^ $(TESTCOUNTER_LIBS)
$(DAEMON): $(DAEMON_OBJS) $(SHAREDLIB)
- $(CXX) -o $@ $^ $(DAEMON_LDFLAGS) -lcrash
+ $(CXX) -o $@ $^ $(DAEMON_LDFLAGS) $(LCRASH)
$(DAEMON_TEST): $(TESTDAEMON_OBJS)
$(CXX) -o $@ $^ $(DAEMON_LDFLAGS) $(TESTDAEMON_LIBS)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698