Add proper runtime library search paths
This commit is contained in:
parent
daf949f6f4
commit
a4fdeed467
@ -9,7 +9,7 @@
|
|||||||
# Check the following 4 variables before running the script
|
# Check the following 4 variables before running the script
|
||||||
topdir=bzip2
|
topdir=bzip2
|
||||||
version=1.0.2
|
version=1.0.2
|
||||||
pkgver=1
|
pkgver=2
|
||||||
source[0]=$topdir-$version.tar.gz
|
source[0]=$topdir-$version.tar.gz
|
||||||
# If there are no patches, simply comment this
|
# If there are no patches, simply comment this
|
||||||
patch[0]=bzip2-braindead-solaris-linker.patch
|
patch[0]=bzip2-braindead-solaris-linker.patch
|
||||||
@ -40,6 +40,7 @@ reg build
|
|||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
setdir source
|
setdir source
|
||||||
|
export LD_RUN_PATH=$prefix/lib
|
||||||
$MAKE_PROG -f Makefile-libbz2_so CFLAGS="-O2 -pipe -mcpu=ultrasparc -mtune=ultrasparc -D_FILE_OFFSET_BITS=64 -fpic -fPIC" all
|
$MAKE_PROG -f Makefile-libbz2_so CFLAGS="-O2 -pipe -mcpu=ultrasparc -mtune=ultrasparc -D_FILE_OFFSET_BITS=64 -fpic -fPIC" all
|
||||||
$MAKE_PROG -f Makefile CFLAGS="-O2 -pipe -mcpu=ultrasparc -mtune=ultrasparc -D_FILE_OFFSET_BITS=64" all
|
$MAKE_PROG -f Makefile CFLAGS="-O2 -pipe -mcpu=ultrasparc -mtune=ultrasparc -D_FILE_OFFSET_BITS=64" all
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user