Ticket #11958: openssl-threadsafe.patch

File openssl-threadsafe.patch, 447 bytes (added by arcpp.zju+openwrt@…, 6 years ago)

Patch to make openssl thread safe

  • package/openssl/Makefile

     
    105105        ) 
    106106endef 
    107107 
    108 TARGET_CFLAGS += $(FPIC) 
     108TARGET_CFLAGS += $(FPIC) -DOPENSSL_THREADS -pthread -D_REENTRANT -D_THREAD_SAFE -D_THREADSAFE 
    109109 
    110110define Build/Compile 
    111111        # XXX: OpenSSL "make depend" will look for installed headers before its own,