summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-05-30 13:30:19 +0000
committerJustin Lecher <jlec@gentoo.org>2012-05-30 13:30:19 +0000
commit85ca5fb29393a17db14956c03b47c1c76d992028 (patch)
tree98fbc5290c1ac6a6240cb5673757ce720d60b28a /sci-libs/cbflib/files
parentkeyword ~amd64-fbsd (diff)
downloadgentoo-2-85ca5fb29393a17db14956c03b47c1c76d992028.tar.gz
gentoo-2-85ca5fb29393a17db14956c03b47c1c76d992028.tar.bz2
gentoo-2-85ca5fb29393a17db14956c03b47c1c76d992028.zip
sci-libs/cbflib: Fix underlinking
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/cbflib/files')
-rw-r--r--sci-libs/cbflib/files/0.9.2.3-Makefile.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci-libs/cbflib/files/0.9.2.3-Makefile.patch b/sci-libs/cbflib/files/0.9.2.3-Makefile.patch
index 55f798f0116d..b7c504225218 100644
--- a/sci-libs/cbflib/files/0.9.2.3-Makefile.patch
+++ b/sci-libs/cbflib/files/0.9.2.3-Makefile.patch
@@ -126,7 +126,7 @@ index a74be5f..1cfb066 100644
- $(CC) -o $@ img.o $(SOLDFLAGS)
+$(SOLIB)/libimg.so.${VERSION}: $(SOURCE) $(HEADERS) $(COMMONDEP) $(SOLIB)
+ $(CC) $(CFLAGS) $(SOCFLAGS) $(NOREGEXFLAG) $(INCLUDES) $(WARNINGS) -c $(EXAMPLES)/img.c
-+ $(CC) $(LDFLAGS) -Wl,-soname,libimg.so.$(VERSION) $(SOCFLAGS) $(SOLDFLAGS) -o $@ img.o
++ $(CC) $(LDFLAGS) -Wl,-soname,libimg.so.$(VERSION) $(SOCFLAGS) $(SOLDFLAGS) -o $@ img.o -lm
+ ln -sf libimg.so.$(VERSION) $(SOLIB)/libimg.so
rm img.o