Bug#558904: glfw: FTBFS on hurd-i386

Pino Toscano pino at kde.org
Mon Nov 30 22:51:19 UTC 2009


Package: glfw
Version: 2.6-2
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd

Hi,

currently glfw does not compile on GNU/Hurd.
This is because the OS detection in compile.sh uses the generic case, thus
setting wrong LDFLAGS (-soname does not exist for gcc).
So, the proposed fix is adding a new Hurd-specific section.

Thanks,
-- 
Pino
-------------- next part --------------
--- a/compile.sh
+++ b/compile.sh
@@ -93,6 +93,11 @@
   LDFLAGS="-flat_namespace -undefined suppress"
   echo " Mac OS X" 1>&6
   ;;
+xGNU)
+  CFLAGS="$CFLAGS"
+  LDFLAGS="-shared -Wl,-soname,libglfw.so.2"
+  echo " GNU" 1>&6
+  ;;
 *)
   LDFLAGS="-shared -soname libglfw.so"
   echo " Generic Unix" 1>&6


More information about the Pkg-games-devel mailing list