summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/cbflib/files/0.9.2.3-Makefile.patch')
-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