expython needs pthreads to link under irix (prolly a python 2.2
authorChris Want <cwant@ualberta.ca>
Sat, 28 Jun 2003 03:47:05 +0000 (03:47 +0000)
committerChris Want <cwant@ualberta.ca>
Sat, 28 Jun 2003 03:47:05 +0000 (03:47 +0000)
requirement).

source/nan_link.mk

index c238592feb30cab3f83501b2385e53757dc596aa..9fe96b29b47f17494c6026e5ee1cc01f0a7176f1 100644 (file)
@@ -80,7 +80,11 @@ endif
 
 ifeq ($(OS),irix)
     LLIBS = -lmovieGL -lGLU -lGL -lXmu -lXext -lX11 -lc -lm -ldmedia
-    LLIBS += -lcl -laudio -ldb -lCio -lz -woff 84,171
+    LLIBS += -lcl -laudio -ldb -lCio -lz
+    ifeq ($(EXPYTHON), true)
+        LLIBS += -lpthread
+    endif
+    LLIBS += -woff 84,171
     DYNLDFLAGS = -shared $(LDFLAGS)
 endif