build on Linux/x86_64
authorStefan Gartner <stefang@aon.at>
Wed, 3 Nov 2004 14:45:52 +0000 (14:45 +0000)
committerStefan Gartner <stefang@aon.at>
Wed, 3 Nov 2004 14:45:52 +0000 (14:45 +0000)
source/Makefile
source/nan_link.mk

index 80dda10d982f1da7c70b43235d5a11af73637284..9e344f38ad66a6021522f66e1eb18af6d31fcfe0 100644 (file)
@@ -367,7 +367,7 @@ ifeq ($(NAN_NO_OPENAL), true)
     NAN_SND_LIBS += $(SOUNDSYSTEM)
 else
   ifeq ($(OS),$(findstring $(OS), "freebsd linux windows"))
-    ifeq ($(CPU),$(findstring $(CPU), "i386 powerpc"))
+    ifeq ($(CPU),$(findstring $(CPU), "i386 powerpc x86_64"))
       ifeq ($(OS),freebsd)
         NAN_SND_LIBS =  $(SOUNDSYSTEM)
         NAN_SND_LIBS += $(DUMMYSOUND)
index 8316111c89e36d44b040f89fabf6c8647dec9d5b..f4fb8951a1697b100a7dd7465b12ff9c9f780fec 100644 (file)
@@ -93,7 +93,7 @@ ifeq ($(OS),linux)
     LLIBS += -lc -lm -ldl -lutil
     LOPTS = -export-dynamic
   endif
-  ifeq ($(CPU),i386)
+  ifeq ($(CPU),$(findstring $(CPU), "i386 x86_64"))
     COMMENT = "MESA 3.1"
     LLIBS = -L$(NAN_MESA)/lib -L/usr/X11R6/lib -lXmu -lXext -lX11 -lXi
     LLIBS += -lutil -lc -lm -ldl -lpthread