16 Aug
2010
16 Aug
'10
11:38 a.m.
Hi Vitaly, On Sun, Aug 15, 2010 at 07:18:45PM +0900, Vitaliy Tomin wrote:
Current getstream fails to link when compiling with --as-needed gcc option. This happens because libraries to link defined before objects, but --as-needed requires objects then libraries to link.
I suggest small patch for Makefile:
all: getstream tsdecode
tsdecode: $(OBJ-tsdecode) - gcc $(LDFLAGS) -o $@ $+ + gcc -o $@ $+ $(LDFLAGS)
getstream: $(OBJ-getstream) - gcc $(LDFLAGS) -o $@ $+ + gcc -o $@ $+ $(LDFLAGS)
clean:
Thanks for the hint - its in the repository ... Flo -- Florian Lohoff f@zz.de