mirror of https://github.com/apache/activemq.git
(AMQ-797) Fixing windows build for activemq-cpp
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@419611 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ec77ecd315
commit
1a447b896b
|
@ -2,7 +2,9 @@
|
|||
# Compiler specific configuration
|
||||
#
|
||||
|
||||
LIBFILE = $(OUTDIR)/libactivemq-cpp.a
|
||||
OUTDIR = out
|
||||
LIBRARY_NAME = activemq-cpp
|
||||
LIBFILE = $(OUTDIR)/lib$(LIBRARY_NAME).a
|
||||
|
||||
#
|
||||
# GCC/G++ debug for Linux
|
||||
|
@ -10,7 +12,7 @@ LIBFILE = $(OUTDIR)/libactivemq-cpp.a
|
|||
CC = g++ -fexceptions -frtti -O0 -g3 -DDEBUG -D_DEBUG -D_REENTRANT -D_WIN32 -DWINVER=0x0502 -DWIN32_LEAN_AND_MEAN
|
||||
LD = g++ -g3 -frtti
|
||||
CCFLAGS = -Wall
|
||||
LDFLAGS = -L$(OUTDIR) -lactivemq -lcppunit -lws2_32 -lrpcrt4
|
||||
LDFLAGS = -L$(OUTDIR) -l$(LIBRARY_NAME) -lcppunit -lws2_32 -lrpcrt4
|
||||
OUTDIR = out
|
||||
ARFLAGS =
|
||||
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
# Compiler specific configuration
|
||||
#
|
||||
|
||||
LIBFILE = $(OUTDIR)/libactivemq-cpp.a
|
||||
OUTDIR = out
|
||||
LIBRARY_NAME = activemq-cpp
|
||||
LIBFILE = $(OUTDIR)/lib$(LIBRARY_NAME).a
|
||||
|
||||
#
|
||||
# GCC/G++ release for Linux
|
||||
|
@ -10,7 +12,7 @@ LIBFILE = $(OUTDIR)/libactivemq-cpp.a
|
|||
CC = g++ -fexceptions -frtti -O3 -DNDEBUG -D_REENTRANT -D__WIN32 -DWIN32_LEAN_AND_MEAN
|
||||
LD = g++ -frtti
|
||||
CCFLAGS = -Wall
|
||||
LDFLAGS = -L$(OUTDIR) -lactivemq -lcppunit -lws2_32 -lrpcrt4
|
||||
LDFLAGS = -L$(OUTDIR) -l$(LIBRARY_NAME) -lcppunit -lws2_32 -lrpcrt4
|
||||
OUTDIR = out
|
||||
ARFLAGS =
|
||||
|
||||
|
|
Loading…
Reference in New Issue