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
|
# 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
|
# 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
|
CC = g++ -fexceptions -frtti -O0 -g3 -DDEBUG -D_DEBUG -D_REENTRANT -D_WIN32 -DWINVER=0x0502 -DWIN32_LEAN_AND_MEAN
|
||||||
LD = g++ -g3 -frtti
|
LD = g++ -g3 -frtti
|
||||||
CCFLAGS = -Wall
|
CCFLAGS = -Wall
|
||||||
LDFLAGS = -L$(OUTDIR) -lactivemq -lcppunit -lws2_32 -lrpcrt4
|
LDFLAGS = -L$(OUTDIR) -l$(LIBRARY_NAME) -lcppunit -lws2_32 -lrpcrt4
|
||||||
OUTDIR = out
|
OUTDIR = out
|
||||||
ARFLAGS =
|
ARFLAGS =
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
# Compiler specific configuration
|
# 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
|
# 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
|
CC = g++ -fexceptions -frtti -O3 -DNDEBUG -D_REENTRANT -D__WIN32 -DWIN32_LEAN_AND_MEAN
|
||||||
LD = g++ -frtti
|
LD = g++ -frtti
|
||||||
CCFLAGS = -Wall
|
CCFLAGS = -Wall
|
||||||
LDFLAGS = -L$(OUTDIR) -lactivemq -lcppunit -lws2_32 -lrpcrt4
|
LDFLAGS = -L$(OUTDIR) -l$(LIBRARY_NAME) -lcppunit -lws2_32 -lrpcrt4
|
||||||
OUTDIR = out
|
OUTDIR = out
|
||||||
ARFLAGS =
|
ARFLAGS =
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue