lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lzip-bug] "ldconfig -n" doesn't work on some OS (lzlib)


From: Antonio Diaz Diaz
Subject: Re: [Lzip-bug] "ldconfig -n" doesn't work on some OS (lzlib)
Date: Tue, 08 Oct 2013 13:35:07 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Juan Francisco Cantero Hurtado wrote:
BTW, I see here[1] that openbsd make accepts the $< variable as used by
lzlib, so I guess that GNU make is not needed to build it. (The same
applies to the other projects in the lzip family).

It doesn't work.

Thanks. Does it work with the following patch?

--- old_src/Makefile.in  2013-10-07 13:34:42.000000000 +0200
+++ src/Makefile.in      2013-10-08 13:13:09.000000000 +0200
@@ -18,10 +18,10 @@
 all : $(progname) $(progname_shared)

 lib$(libname).a : lzlib.o
-       $(AR) -rcs $@ $<
+       $(AR) -rcs $@ lzlib.o

 lib$(libname).so.$(pkgversion) : lzlib_sh.o
-       $(CC) -shared -Wl,--soname=lib$(libname).so.$(soversion) -o $@ $<
+ $(CC) -shared -Wl,--soname=lib$(libname).so.$(soversion) -o $@ lzlib_sh.o

 $(progname) : $(objs) lib$(libname).a
        $(CC) $(LDFLAGS) -o $@ $(objs) lib$(libname).a

-------------------------------------------------------------------------


Best regards,
Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]