Diff

Differences From Artifact [3c6f8c4aef]:

To Artifact [e7c0e6436b]:


   137    137   	# Create pkgIndex if needed
   138    138   	if [ ! -e "${INSTDIR}/lib/tls${TLSVERS}/pkgIndex.tcl" ]; then
   139    139   		cat << _EOF_ > "${INSTDIR}/lib/tls${TLSVERS}/pkgIndex.tcl"
   140    140   package ifneeded tls ${TLSVERS} \
   141    141       "[list source [file join \$dir tls.tcl]] ; \
   142    142        [list load {} tls]"
   143    143   _EOF_
          144  +		## XXX: TODO: Determine what we actually need to link against
          145  +		echo '-Wl,-Bstatic -lssl -lcrypto -Wl,-Bdynamic' > "${INSTDIR}/lib/tls${TLSVERS}/libtls${TLSVERS}.a.linkadd"
          146  +	else
          147  +		## XXX: TODO: Determine what we actually need to link against
          148  +		echo '-lssl -lcrypto' > "${INSTDIR}/lib/tls${TLSVERS}/libtls${TLSVERS}.a.linkadd"
   144    149   	fi
   145    150   
   146    151   	# Install files needed by installation
   147    152   	cp -r "${INSTDIR}/lib" "${OUTDIR}" || exit 1
   148    153   	find "${OUTDIR}" -name '*.a' -type f | xargs -n 1 rm -f --
   149    154   
   150         -	## XXX: TODO: Determine what we actually need to link against
   151         -	echo '-lssl -lcrypto' > "${INSTDIR}/lib/tls${TLSVERS}/libtls${TLSVERS}.a.linkadd"
   152         -
   153    155   	exit 0
   154    156   ) || exit 1
   155    157   
   156    158   exit 0