summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2012-04-16 14:30:21 (GMT)
committerJason Evans <je@fb.com>2012-04-17 05:42:32 (GMT)
commit6f2ed70f5a33c4d6bae93b7f18d6b636843a6495 (patch)
tree69c4732b24bab8929cd0b96fda124ad98a03cec2 /Makefile.in
parentf5e0f526ec2079bf9b734f500df1cbc090f33b39 (diff)
downloadjemalloc-6f2ed70f5a33c4d6bae93b7f18d6b636843a6495.zip
jemalloc-6f2ed70f5a33c4d6bae93b7f18d6b636843a6495.tar.gz
jemalloc-6f2ed70f5a33c4d6bae93b7f18d6b636843a6495.tar.bz2
Use $(LIBS) instead of -lpthread when linking tests
This will allow linking for win32 without pthreads more easily
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 6479857..8cd0418 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -133,9 +133,9 @@ build_doc: $(DOCS)
@objroot@lib/libjemalloc@install_suffix@.$(SO)
@mkdir -p $(@D)
ifneq (@RPATH@, )
- $(CC) -o $@ $< @RPATH@@objroot@lib -L@objroot@lib -ljemalloc@install_suffix@ -lpthread
+ $(CC) -o $@ $< @RPATH@@objroot@lib -L@objroot@lib -ljemalloc@install_suffix@ $(LIBS)
else
- $(CC) -o $@ $< -L@objroot@lib -ljemalloc@install_suffix@ -lpthread
+ $(CC) -o $@ $< -L@objroot@lib -ljemalloc@install_suffix@ $(LIBS)
endif
build_lib_shared: $(DSOS)