1 Patch origin: in-house 2 Patch status: Solaris-specific; not suitable for upstream 3 4 ZLIB renames *.o file into *.lo before it links them info shared 5 library. We need to do same to *.o.bc files so they are recognized by 6 Parfait during linking. 7 8 Downside of it is that Parfait will analyze also these separate object 9 files. 10 11 --- zlib-1.2.8/Makefile.in 2013-04-28 15:57:11.000000000 -0700 12 +++ zlib-1.2.8/Makefile.in 2014-05-07 07:30:58.047571894 -0700 13 @@ -158,6 +158,7 @@ 14 -@mkdir objs 2>/dev/null || test -d objs 15 $(CC) $(SFLAGS) -DPIC -c -o objs/$*.o $< 16 -@mv objs/$*.o $@ 17 + -@if [ -f objs/$*.o.bc ]; then mv objs/$*.o.bc $@.bc; fi 18 19 placebo $(SHAREDLIBV): $(PIC_OBJS) libz.a 20 $(LDSHARED) $(SFLAGS) -o $@ $(PIC_OBJS) $(LDSHAREDLIBC) $(LDFLAGS)