[PATCH] Define DLLEXPORT when building .jet objects

Mike Hommey mh+jemalloc at glandium.org
Wed May 21 01:04:24 PDT 2014


From: Mike Hommey <mh at glandium.org>

---
 Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index 4cb1a65..65d73db 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -219,7 +219,7 @@ $(TESTS_STRESS_OBJS): CPPFLAGS += -DJEMALLOC_STRESS_TEST
 $(TESTS_OBJS): $(objroot)test/%.$(O): $(srcroot)test/%.c
 $(TESTS_OBJS): CPPFLAGS += -I$(srcroot)test/include -I$(objroot)test/include
 ifneq ($(IMPORTLIB),$(SO))
-$(C_OBJS): CPPFLAGS += -DDLLEXPORT
+$(C_OBJS) $(C_JET_OBJS): CPPFLAGS += -DDLLEXPORT
 endif
 
 ifndef CC_MM
-- 
2.0.0.rc2



More information about the jemalloc-discuss mailing list