stransky / berusky2

Berusky 2 (Bugs Escape 3D) is a game that challenges your visual/spatial thinking and ability to find a way to resolve a logic task. Using five bugs, you'll go through an adventure full of various puzzles spread across nine episodes. Individual episodes differ in appearance and difficulty, which increases throughout the game.
http://anakreon.cz/en/Berusky2.htm
GNU General Public License v3.0
14 stars 3 forks source link

Missing -pthread flag #15

Closed apoleon closed 11 years ago

apoleon commented 11 years ago

Berusky2 currently builds without the -lpthread flag which causes a FTBFS in the linker stage.

In Debian it was necessary to explicitly add -lpthread to LIBS as an option for the configure script in debian/rules to make Berusky2 compile.

I think it would be great to add it to the configure script directly.

stransky commented 11 years ago

Hm, strange, which package config files contains the pthread library? For instance the .pc files are stored in /usr/lib64/pkgconfig in Fedora and pthread is bundled by SDL, X11 and other libs.

So if you need extra pthread link flag, please add it in Debian specific patch...

stransky commented 11 years ago

Anyway, the pthread library is provided by glibc (at least in Fedora) and should be included anyway...