blob: 13450c1c9c7cdd9deac773ff55d6a736082d3a10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
This fixes build with dev-build/slibtool
--- SDL2_gfx-1.0.4/configure.in
+++ SDL2_gfx-1.0.4/configure.in
@@ -58,6 +58,9 @@
fi
AC_CHECK_PROGS(WINDRES, [windres $hostaliaswindres $host_os-windres])
+AC_CHECK_LIBM
+AC_SUBST([LIBM])
+
case "$host" in
*-*-beos*)
ac_default_prefix=/boot/develop/tools/gnupro
--- SDL2_gfx-1.0.4/Makefile.am
+++ SDL2_gfx-1.0.4/Makefile.am
@@ -24,6 +24,9 @@
-release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+libSDL2_gfx_la_LIBADD = \
+ $(LIBM)
+
%.o : %.rc
$(WINDRES) $< $@
|