Package: glfw Version: 2.6-2 Severity: important Tags: patch User: debian-h...@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
--- 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