Menu

#122 Added threads.c to wsdl2h build (resubmit)

Patch
closed-fixed
None
5
2014-12-06
2014-10-15
No

Just going to resubmit this, because it is needed...

threads.c contains a shim for thread functions not present on windows. This must be compiled into WSDL2H for it to work on Windows.

Without this patch, the wsdl2h linking fails on MingW due to the absence of emulate_pthread symbols. Is there a tidier way of fixing this? I didn't like adding a relative path to the source list.

1 Attachments

Discussion

  • Robert van Engelen

    Probably a better patch is to update configure.ac:245 as follows:

    WSDL2H_EXTRA_LIBS="${WSDL2H_EXTRA_LIBS} ../plugin/httpda.c ../plugin/md5evp.c ../plugin/threads.c -lssl -lcrypto -lz"
    

    Will make these changes to the upcoming 2.8.21.

     
  • Robert van Engelen

    • status: open --> open-accepted
     
  • Robert van Engelen

    • status: open-accepted --> closed-fixed
    • Group: Unstable (w- patch) --> Patch
     

Log in to post a comment.