[allegro4.4] 01/01: Link against libm in compile_examples.sh.

Tobias Hansen thansen at moszumanska.debian.org
Tue Jun 21 19:08:25 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository allegro4.4.

commit 6feffcc5ffdea86a505d9519491a559d38527a34
Author: Tobias Hansen <thansen at debian.org>
Date:   Tue Jun 21 20:08:15 2016 +0100

    Link against libm in compile_examples.sh.
---
 debian/changelog           | 1 +
 debian/compile_examples.sh | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0034cbb..a1bd9c7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ allegro4.4 (2:4.4.2-9) UNRELEASED; urgency=medium
     (Closes: #824140)
   * Remove conflict of liballegro4-dev with liballegro5-dev.
     (Closes: #824157)
+  * Link against libm in compile_examples.sh.
 
  -- Tobias Hansen <thansen at debian.org>  Tue, 21 Jun 2016 19:36:19 +0100
 
diff --git a/debian/compile_examples.sh b/debian/compile_examples.sh
index c4c9ece..5118606 100644
--- a/debian/compile_examples.sh
+++ b/debian/compile_examples.sh
@@ -10,7 +10,7 @@ tar zxf /usr/share/doc/allegro4-doc/examples/*tar.gz
 #gunzip -v *.gz
 echo "Compiling examples..."
 for src in *.c; do
-  gcc -g -O2 -o ${src%.c} $src `allegro-config --libs`
+  gcc -g -O2 -o ${src%.c} $src `allegro-config --libs` -lm
 #  strip ${src%.c}
 done
 echo "Compiled example programs are now in ~/allegro4-examples"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/allegro4.4.git



More information about the Pkg-games-commits mailing list