Some fixes to get blender compiling on solaris.
Kent
This commit is contained in:
@@ -35,7 +35,7 @@ include nan_compile.mk
|
||||
|
||||
CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
|
||||
|
||||
CPPFLAGS += -I$(LCGDIR)/samplerate/include/
|
||||
CPPFLAGS += -I$(NAN_SAMPLERATE)/include
|
||||
CPPFLAGS += -I../ffmpeg
|
||||
CPPFLAGS += -I../FX
|
||||
CPPFLAGS += -I../SDL
|
||||
|
@@ -118,6 +118,7 @@ COMLIB += $(NAN_LZO)/lib/$(DEBUG_DIR)libminilzo.a
|
||||
COMLIB += $(NAN_LZMA)/lib/$(DEBUG_DIR)liblzma.a
|
||||
COMLIB += $(NAN_BSP)/lib/$(DEBUG_DIR)libbsp.a
|
||||
COMLIB += $(NAN_BOOLOP)/lib/$(DEBUG_DIR)libboolop.a
|
||||
COMLIB += $(NAN_MOTO)/lib/$(DEBUG_DIR)libmoto.a
|
||||
COMLIB += $(NAN_DECIMATION)/lib/$(DEBUG_DIR)libdecimation.a
|
||||
|
||||
ifeq ($(WITH_FFMPEG),true)
|
||||
@@ -378,11 +379,6 @@ ifeq ($(WITH_BF_WEBPLUGIN), true)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS),solaris)
|
||||
PULIB += $(NAN_ZLIB)/lib/libz.a
|
||||
SPLIB += $(NAN_ZLIB)/lib/libz.a
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENAL),true)
|
||||
ifeq ($(OS),$(findstring $(OS), "freebsd linux windows"))
|
||||
ifeq ($(CPU),$(findstring $(CPU), "i386 powerpc x86_64 parisc64"))
|
||||
|
@@ -39,6 +39,10 @@
|
||||
extern int tot_pushup;
|
||||
extern int tot_pushdown;
|
||||
|
||||
#if !defined(INFINITY) && defined(HUGE_VAL)
|
||||
#define INFINITY HUGE_VAL
|
||||
#endif
|
||||
|
||||
template<class Node>
|
||||
bool node_fits_inside(Node *a, Node *b)
|
||||
{
|
||||
|
@@ -120,7 +120,7 @@ ifeq ($(OS),solaris)
|
||||
LLIBS += -L$(NAN_MESA)/lib
|
||||
endif
|
||||
|
||||
LLIBS += -lGLU -lGL -lXmu -lXext -lXi -lX11 -lc -lm -ldl -lsocket -lnsl
|
||||
LLIBS += $(NAN_ZLIB)/lib/libz.a -lGLU -lGL -lXmu -lXext -lXi -lX11 -lc -lm -ldl -lsocket -lnsl
|
||||
DYNLDFLAGS = -shared $(LDFLAGS)
|
||||
endif
|
||||
|
||||
|
Reference in New Issue
Block a user