mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-14 02:57:47 +01:00
mingw32 fix
This commit is contained in:
parent
fe3756defa
commit
edad90f770
@ -27,7 +27,7 @@ OBJS = ctx.o reaper.o dist.o err.o \
|
||||
mechanism.o null_mechanism.o plain_client.o plain_server.o \
|
||||
socks.o server.o decoder_allocators.o socks_connecter.o \
|
||||
socket_poller.o mailbox_safe.o plain_server.o client.o timers.o \
|
||||
zmq.o zmq_utils.o
|
||||
zmq.o zmq_utils.o gather.o scatter.o dgram.o
|
||||
|
||||
%.o: ../../src/%.cpp
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
@ -40,10 +40,10 @@ all: libzmq.dll
|
||||
perf: inproc_lat.exe inproc_thr.exe local_lat.exe local_thr.exe remote_lat.exe remote_thr.exe
|
||||
|
||||
libzmq.dll: $(OBJS)
|
||||
g++ -shared -o $@ $^ -Wl,--out-implib,$@.a $(LIBS)
|
||||
g++ -shared -static -O2 -s -o $@ $^ -Wl,--out-implib,$@.a $(LIBS)
|
||||
|
||||
%.exe: %.o libzmq.dll
|
||||
g++ -o $@ $^
|
||||
g++ -o -O2 $@ $^
|
||||
|
||||
clean:
|
||||
del *.o *.a *.dll *.exe
|
||||
|
Loading…
Reference in New Issue
Block a user