Bug#375822: libsdl1.2-dev: sdl-config --libs shouldn't include -lpthread

Samuel Thibault samuel.thibault at ens-lyon.org
Wed Jun 28 09:31:42 UTC 2006


Package: libsdl1.2-dev
Version: 1.2.10-3
Severity: wishlist

Hi,

There is a spurious dependency in the output of sdl-config --libs:

-L/usr/lib -lSDL -lpthread

-lpthread is _not_ needed in --libs (since the SDL _interface_ doesn't
need pthread functions) and just brings an unneeded dependency. It
should be used only for linking libSDL.so itself, and put in sdl-config
--static-libs (for static linking).

Samuel

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)

Versions of packages libsdl1.2-dev depends on:
ii  libaa1-dev                    1.4p5-30   ascii art library, development kit
ii  libartsc0-dev                 1.5.3-2    development files for the aRts sou
ii  libasound2-dev                1.0.11-3   ALSA library development files
ii  libaudio-dev                  1.7-9      The Network Audio System (NAS). (d
ii  libdirectfb-dev               0.9.24-3   frame buffer graphics library, dev
ii  libesd0-dev                   0.2.36-3   Enlightened Sound Daemon - Develop
ii  libglu1-mesa-dev [libglu-dev] 6.4.2-1    The OpenGL utility library -- deve
ii  libglu1-xorg-dev              1:7.0.22   transitional package for Debian et
ii  libsdl1.2debian               1.2.10-3   Simple DirectMedia Layer
ii  libsvga1-dev                  1:1.4.3-22 console SVGA display development l
ii  libxext-dev                   1:1.0.0-4  X11 miscellaneous extensions libra
ii  libxt-dev                     1:1.0.0-5  X11 toolkit intrinsics library (de

libsdl1.2-dev recommends no packages.

-- no debconf information




More information about the Pkg-sdl-maintainers mailing list