Re: [dev] [sbase][patch] make libutf.a and libutil.a different

2014-11-19 Thread Dimitris Papastamos
On Wed, Nov 19, 2014 at 08:44:53PM +0100, k...@shike2.com wrote: > > >> In fact, POSIX says that it could be only: > >> > >> > >>$(LIB): libutf($(LIBUTFOBJ)) libutil($(LIBUTILOBJ)) > >> > >> but my experience is that it doesn't work in BSD systems :( > > > > We now depend on GNU make. I a

Re: [dev] [sbase][patch] make libutf.a and libutil.a different

2014-11-19 Thread k0ga
>> In fact, POSIX says that it could be only: >> >> >> $(LIB): libutf($(LIBUTFOBJ)) libutil($(LIBUTILOBJ)) >> >> but my experience is that it doesn't work in BSD systems :( > > We now depend on GNU make. I am tired of fighting make implementations. Ok, but I think current Makefile works

Re: [dev] [sbase][patch] make libutf.a and libutil.a different

2014-11-19 Thread Dimitris Papastamos
On Wed, Nov 19, 2014 at 08:15:09PM +0100, k...@shike2.com wrote: > > The Makefile made libutil.a and libutf.a identical. Here is a patch to fix > > this. > > > > -$(LIB): $(LIBUTFOBJ) $(LIBUTILOBJ) > > +$(LIBUTF): $(LIBUTFOBJ) > > + $(AR) -r -c $@ $? > > + $(RANLIB) $@ > > + > > +$(LIBUT

Re: [dev] [sbase][patch] make libutf.a and libutil.a different

2014-11-19 Thread k0ga
> The Makefile made libutil.a and libutf.a identical. Here is a patch to fix > this. > > -$(LIB): $(LIBUTFOBJ) $(LIBUTILOBJ) > +$(LIBUTF): $(LIBUTFOBJ) > +$(AR) -r -c $@ $? > +$(RANLIB) $@ > + > +$(LIBUTIL): $(LIBUTILOBJ) > $(AR) -r -c $@ $? > $(RANLIB) $@ > In fact

Re: [dev] [sbase][patch] make libutf.a and libutil.a different

2014-11-19 Thread Dimitris Papastamos
On Tue, Nov 18, 2014 at 07:27:40PM -0500, Jean-Philippe Gagné Guay wrote: > The Makefile made libutil.a and libutf.a identical. Here is a patch to fix > this. Thanks, applied.

[dev] [sbase][patch] make libutf.a and libutil.a different

2014-11-18 Thread Jean-Philippe Gagné Guay
The Makefile made libutil.a and libutf.a identical. Here is a patch to fix this. diff --git a/Makefile b/Makefile index 1f01866..9143406 100644 --- a/Makefile +++ b/Makefile @@ -149,7 +149,11 @@ $(OBJ): $(HDR) config.mk .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $< -$(LIB): $(LIBUTFOBJ) $(LIBU