--- chewbacca/event/Makefile 2008/09/23 14:57:49 1.6 +++ chewbacca/event/Makefile 2008/09/24 08:47:56 1.9 @@ -1,6 +1,6 @@ #***************************************************************************** # -# FILE NAME: $Id: Makefile,v 1.5 2008/09/23 14:02:47 mocchiut Exp $ +# FILE NAME: $Id: Makefile,v 1.8 2008/09/23 15:43:25 mocchiut Exp $ # VERSION: # AUTHOR: Nergal S.r.l. # DATE: @@ -100,13 +100,14 @@ -shared -nostdlib \ -Wl,-soname \ -Wl,libyoda.so.0 \ - /usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \ - /usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o \ + /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crti.o \ + /usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \ + /usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o \ + /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crtn.o \ -Wl,--whole-archive \ $^ \ -Wl,--no-whole-archive - libyoda.a: $(TARGETLIB) $(EXTLIB) cd $(OBJDIR) ; \ pwd ;\ @@ -114,8 +115,10 @@ $(AR) -x $$sub_lib ; \ done ;\ $(AR) -scrv libyoda.a *.o \ - /usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \ - /usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o + /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crti.o \ + /usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \ + /usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o \ + /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crtn.o $(TARGETLIB) : ${OBJS} $(AR) -scrv $@ $?