Diff

Differences From Artifact [fabf93d83d]:

To Artifact [ef508fc70b]:


     1      1   #! /usr/bin/env bash
     2      2   
     3      3   # BuildCompatible: KitCreator
     4      4   
     5      5   version="0.28"
     6      6   url="http://rkeene.org/devel/tcc4tcl/tcc4tcl-${version}.tar.gz"
     7      7   sha256='7062bd924b91d2ce8efc5d1983f8bd900514b7a674c9b567f564ee977ef3512e'
            8  +configure_extra=()
     8      9   
     9     10   function preconfigure() {
           11  +	configure_extra=("${configure_extra[@]}" "--enable-stubs")
    10     12   	if echo " ${CONFIGUREEXTRA} " | grep ' --disable-load ' >/dev/null; then
    11         -		configure_extra=("--with-dlopen")
           13  +		configure_extra=("${configure_extra[@]}" "--with-dlopen")
    12     14   	else
    13         -		configure_extra=("--without-dlopen")
           15  +		configure_extra=("${configure_extra[@]}" "--without-dlopen")
    14     16   	fi
    15     17   }
    16     18   
    17     19   function postinstall() {
    18     20   	echo "/libtcc1\.a" > "${installdir}/kitcreator-nolibs"
    19     21   }
    20     22