radare2/libr/socket/deps.mk

22 lines
335 B
Makefile
Raw Normal View History

2012-10-03 14:32:32 +00:00
ifeq (${HAVE_LIB_SSL},1)
CFLAGS+=${SSL_CFLAGS}
LDFLAGS+=${SSL_LDFLAGS}
endif
# OSX 10.7 (lion)
ifeq (${OSTYPE},darwin)
LDFLAGS+=-lcrypto
endif
# on solaris only
ifeq (${OSTYPE},solaris)
LDFLAGS+=-lsocket
endif
ifeq (${OSTYPE},qnx)
LDFLAGS+=-lsocket
endif
# windows
ifeq (${OSTYPE},windows)
2013-01-23 13:50:50 +00:00
LDFLAGS+=-lwsock32
2012-10-03 14:32:32 +00:00
#LDFLAGS+=-lws2_32
endif