Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
kehengzhong authored Jul 27, 2021
1 parent 6b43abf commit 3389a59
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ADIF_RPATH = -Wl,-rpath,$(adif_lib)

PKG_VER_MAJOR = 2
PKG_VER_MINOR = 1
PKG_VER_RELEASE = 8
PKG_VER_RELEASE = 12
PKG_VER = $(PKG_VER_MAJOR).$(PKG_VER_MINOR).$(PKG_VER_RELEASE)

PKG_VERSO_LIB = $(PKG_SO_LIB).$(PKG_VER)
Expand Down Expand Up @@ -77,6 +77,8 @@ endif

ifeq ($(shell test -e /usr/include/sys/epoll.h && echo 1), 1)
DEFS += -DHAVE_EPOLL
else ifeq ($(shell test -e /usr/include/sys/event.h && echo 1), 1)
DEFS += -DHAVE_KQUEUE
else
DEFS += -DHAVE_SELECT
endif
Expand Down Expand Up @@ -120,7 +122,7 @@ ifeq ($(UNAME), FreeBSD)
endif

ifeq ($(UNAME), Darwin)
DEFS += -DOSX
DEFS += -D_OSX_

PKG_VERSO_LIB = $(PKGLIB).$(PKG_VER).dylib
PKG_SONAME_LIB = $(PKGLIB).$(PKG_VER_MAJOR).dylib
Expand Down

0 comments on commit 3389a59

Please sign in to comment.