Skip to content
Permalink
Browse files

Date: Sun, 11 Dec 2005 20:37:04 +0100

From: Olivier Boudeville <olivier.boudeville@online.fr>
To: "A list for developers using the SDL library. \(includes SDL-announce\)" <sdl@libsdl.org>
Subject: [SDL] NetBSD build patch


Hi everybody,

apparently the SDL-1.2.9 source archive could not compile "as is" on
NetBSD 2.0_STABLE due to a pthread detection issue in the configure script.

I attached a small patch that can be applied to configure.in so that SDL
can be directly (i.e. without the NetBSD package manager) configured and
built successfully on NetBSD (at least on the one I tried !).

Hope this helps,

Olivier.
  • Loading branch information
icculus committed Dec 12, 2005
1 parent 1413c3c commit df90e80cfde6ab9e3cc269eaa372716c5496424d
Showing with 2 additions and 2 deletions.
  1. +2 −2 configure.in
@@ -1287,8 +1287,8 @@ CheckPTHREAD()
pthread_lib="-pthread"
;;
*-*-netbsd*)
pthread_cflags="-I/usr/pkg/include -D_REENTRANT"
pthread_lib="-L/usr/pkg/lib -lpthread -lsem"
pthread_cflags="-I/usr/include -D_REENTRANT -D_THREAD_SAFE"
pthread_lib="-L/usr/lib -lpthread"
;;
*-*-openbsd*)
pthread_cflags="-D_REENTRANT"

0 comments on commit df90e80

Please sign in to comment.