makefile: Add test for semaphore.h
This commit is contained in:
parent
b3136d2d6d
commit
b8978639e8
1 changed files with 3 additions and 0 deletions
3
makefile
3
makefile
|
@ -492,6 +492,9 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
|||
OS_CURSES_DEFS += -DHAVE_NCURSES -lncurses
|
||||
endif
|
||||
endif
|
||||
ifneq (,$(call find_include,semaphore))
|
||||
OS_CCDEFS += -DHAVE_SEMAPHORE
|
||||
endif
|
||||
ifneq (,$(call find_include,dlfcn))
|
||||
ifneq (,$(call find_lib,dl))
|
||||
OS_CCDEFS += -DHAVE_DLOPEN=$(LIBEXT)
|
||||
|
|
Loading…
Add table
Reference in a new issue