Diff

Differences From Artifact [ab96518e6b]:

To Artifact [093497ea45]:


    53     53   
    54     54   			if [ -d "${pkgdir}" ]; then
    55     55   				pkgfound='1'
    56     56   			fi
    57     57   
    58     58   			CFLAGS="${CFLAGS} -I${pkgdir}/include"
    59     59   			CPPFLAGS="${CPPFLAGS} -I${pkgdir}/include"
    60         -			LDFLAGS="${LDFLAGS} -L${pkgdir}/lib"
    61         -			export CFLAGS CPPFLAGS LDFLAGS
           60  +			LDFLAGS="${LDFLAGS} -L${pkgdir}/lib -Wl,-rpath,${pkgdir}/lib"
           61  +			PATH="${PATH}:${pkgdir}/bin"
           62  +			export CFLAGS CPPFLAGS LDFLAGS PATH
    62     63   
    63     64   			if [ -d "${pkgconfigdir}" ]; then
    64     65   				PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${pkgconfigdir}"
    65     66   				export PKG_CONFIG_PATH
    66     67   			fi
    67     68   
    68     69   		done