Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/Makefile')
-rw-r--r--source/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/Makefile b/source/Makefile
index 3fb82d4033e..20322946ab7 100644
--- a/source/Makefile
+++ b/source/Makefile
@@ -376,7 +376,7 @@ ifeq ($(NAN_NO_OPENAL), true)
NAN_SND_LIBS += $(SOUNDSYSTEM)
else
ifeq ($(OS),$(findstring $(OS), "freebsd linux windows"))
- ifeq ($(CPU),i386)
+ ifeq ($(CPU),$(findstring $(CPU), "i386 powerpc"))
ifeq ($(OS),freebsd)
NAN_SND_LIBS = $(SOUNDSYSTEM)
NAN_SND_LIBS += $(DUMMYSOUND)
@@ -410,6 +410,8 @@ else
ifeq ($(OS),darwin)
NAN_SND_LIBS = $(SOUNDSYSTEM)
NAN_SND_LIBS += $(DUMMYSOUND)
+ NAN_SND_LIBS += $(OPENALSOUND)
+ NAN_SND_LIBS += $(NAN_OPENAL)/lib/libopenal.a
NAN_SND_LIBS += $(SOUNDSYSTEM)
else
NAN_SND_LIBS = $(SOUNDSYSTEM)