Followup-For: Bug #1082692
Source: pegsolitaire
Version: 0.3-3
Tags: patch

Hi,
Here is a patch to update the cross.patch that solves this issue.
Regards,
Patrice
diff --git a/debian/patches/cross.patch b/debian/patches/cross.patch
index a2e6605..ecc8096 100644
--- a/debian/patches/cross.patch
+++ b/debian/patches/cross.patch
@@ -18,7 +18,7 @@ Bug: 956345
 -      -fvisibility=hidden $(shell pkg-config --cflags $(deps))
 -pkg_LDLIBS = -Wl,--as-needed $(shell pkg-config --libs $(deps))
 +      -fvisibility=hidden $(shell $(PKG_CONFIG) --cflags $(deps))
-+pkg_LDLIBS = -Wl,--as-needed $(shell $(PKG_CONFIG) --libs $(deps))
++pkg_LDLIBS = -Wl,--as-needed $(shell $(PKG_CONFIG) --libs $(deps)) -lm
  
  # Non-essential default flags
  CFLAGS ?= -O2 -g

Reply via email to