Skip to content

Commit

Permalink
Fix build on Mac/OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
happi authored and Richard Carlsson committed Aug 30, 2011
1 parent 2eedb12 commit b53db7c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions c_src/Makefile
@@ -1,17 +1,19 @@

include ../../../support/include.mk

## don't build this under win32 at all
ifdef WIN32

## don't build this under win32 or mac osx at all
ifdef WIN32
PRIV_FILES =
else
ifdef DARWIN
PRIV_FILES =

else

PRIV_FILES=../priv/fdsend_drv.so \
../priv/fdsrv \
../priv/fdsrv_drv.so
endif
endif


CFLAGS += -I$(ERL_C_INCLUDE_DIR) -I../config -I.
Expand Down

0 comments on commit b53db7c

Please sign in to comment.