/[packages]/cauldron/giflib/current/SOURCES/giflib-Makefile.patch
ViewVC logotype

Contents of /cauldron/giflib/current/SOURCES/giflib-Makefile.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1379389 - (show annotations) (download)
Thu Mar 21 05:10:43 2019 UTC (5 years, 1 month ago) by daviddavid
File size: 1066 byte(s)
SILENT: rediff makefile patch

1 diff -Nrup a/Makefile b/Makefile
2 --- a/Makefile 2019-03-17 17:33:02.000000000 +0100
3 +++ b/Makefile 2019-03-21 06:09:00.124772672 +0100
4 @@ -58,15 +58,15 @@ UTILS = $(INSTALLABLE) \
5 gifsponge \
6 gifwedge
7
8 -LDLIBS=libgif.a -lm
9 +LDLIBS=-lm
10
11 -all: libgif.so libgif.a $(UTILS)
12 +all: libgif.so $(UTILS)
13 $(MAKE) -C doc
14
15 -$(UTILS):: libgif.a
16 +$(UTILS):: libgif.so
17
18 libgif.so: $(OBJECTS) $(HEADERS)
19 - $(CC) $(CFLAGS) -shared $(OFLAGS) -Wl,-soname -Wl,libgif.so.$(LIBMAJOR) -o libgif.so $(OBJECTS)
20 + $(CC) $(CFLAGS) $(OBJECTS) $(LDFLAGS) -shared -Wl,-soname,libgif.so.$(LIBMAJOR) -o libgif.so
21
22 libgif.a: $(OBJECTS) $(HEADERS)
23 $(AR) rcs libgif.a $(OBJECTS)
24 @@ -91,7 +91,6 @@ install-include:
25 $(INSTALL) -m 644 gif_lib.h "$(DESTDIR)$(INCDIR)"
26 install-lib:
27 $(INSTALL) -d "$(DESTDIR)$(LIBDIR)"
28 - $(INSTALL) -m 644 libgif.a "$(DESTDIR)$(LIBDIR)/libgif.a"
29 $(INSTALL) -m 755 libgif.so "$(DESTDIR)$(LIBDIR)/libgif.so.$(LIBVER)"
30 ln -sf libgif.so.$(LIBVER) "$(DESTDIR)$(LIBDIR)/libgif.so.$(LIBMAJOR)"
31 ln -sf libgif.so.$(LIBMAJOR) "$(DESTDIR)$(LIBDIR)/libgif.so"

  ViewVC Help
Powered by ViewVC 1.1.30