On Wed, Aug 19, 2009 at 20:35, Kenton Varda<[email protected]> wrote:
> In any case, the work-around you may want is to set PTHREAD_CFLAGS='-pthread
> -lpthread' -- that is, pass both flags.  Or better yet, set
> PTHREAD_CFLAGS=-pthread and PTHREAD_LIBS=-lpthread -- this way -lpthread is
> only passed while linking.

Thanks for the tip !

I've tried the combination of PTHREAD_CFLAGS and PTHREAD_LIBS you
suggested and it work well.

Better: setting PTHREAD_LIBS alone is enough.

You can find attached an updated version of my spec file.

-- 
Kevin Deldycke
  • blog: http://kevin.deldycke.com
  • band: http://coolcavemen.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Attachment: protobuf.spec
Description: Binary data

Reply via email to