mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-05 20:17:43 +00:00
33 lines
695 B
Makefile
33 lines
695 B
Makefile
ifeq (${HAVE_LIB_SSL},1)
|
|
CFLAGS+=${SSL_CFLAGS}
|
|
LDFLAGS+=${SSL_LDFLAGS}
|
|
endif
|
|
|
|
# OSX 10.7 (lion)
|
|
ifeq (${OSTYPE},darwin)
|
|
#LDFLAGS+=-lcrypto
|
|
# IOS doesnt allows to link against libcrypto
|
|
endif
|
|
# on solaris only
|
|
ifeq (${OSTYPE},solaris)
|
|
LDFLAGS+=-lsocket
|
|
endif
|
|
ifeq (${OSTYPE},qnx)
|
|
LDFLAGS+=-lsocket
|
|
endif
|
|
# windows
|
|
ifeq (${OSTYPE},windows)
|
|
LDFLAGS+=-lwsock32
|
|
#LDFLAGS+=-lws2_32
|
|
endif
|
|
|
|
ifneq (,$(findstring mingw32,$(OSTYPE))$(findstring mingw64,$(OSTYPE)))
|
|
LDFLAGS+=-lws2_32
|
|
else
|
|
# no libutil for android
|
|
#ifneq (,$(findstring linux,$(OSTYPE))$(findstring android,$(OSTYPE))$(findstring bsd,$(OSTYPE)))
|
|
ifneq (,$(findstring linux,$(OSTYPE))$(findstring bsd,$(OSTYPE)))
|
|
LDFLAGS+=-lutil
|
|
endif
|
|
endif
|