clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since b15e4602 was a8f17cf, checked in by Jim Gifford <clfs@…>, 19 years ago |
r606@server (orig r604): ryan | 2005-08-05 23:28:36 -0700
Add LDFLAGS to get around libtool issues
|
-
Property mode
set to
100755
|
File size:
920 bytes
|
Rev | Line | |
---|
[617118d] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | ### OpenEXR ###
|
---|
| 4 |
|
---|
| 5 | cd ${SRC}
|
---|
| 6 | LOG=OpenEXR-blfs.log
|
---|
| 7 | libdir=lib
|
---|
| 8 |
|
---|
| 9 | SELF=`basename ${0}`
|
---|
| 10 | set_buildenv
|
---|
| 11 | set_libdirname
|
---|
| 12 | setup_multiarch
|
---|
| 13 | if [ ! "${libdirname}" = "lib" ]; then
|
---|
| 14 | extra_conf="--libdir=/usr/${libdirname}"
|
---|
| 15 | fi
|
---|
| 16 |
|
---|
| 17 | unpack_tarball OpenEXR-${OPENEXR_VER}
|
---|
| 18 | cd ${PKGDIR}
|
---|
| 19 |
|
---|
[a8f17cf] | 20 | env | grep CONFIG
|
---|
| 21 |
|
---|
| 22 | # LDFLAGS added to satisfy libtool (after libstdc++ symlinks were created)
|
---|
[617118d] | 23 | max_log_init OpenEXR ${OPENEXR_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
---|
| 24 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
| 25 | CXX="${CXX-g++} ${ARCH_CFLAGS}" \
|
---|
| 26 | CFLAGS="${TGT_CFLAGS}" \
|
---|
| 27 | CXXFLAGS="${TGT_CFLAGS}" \
|
---|
[a8f17cf] | 28 | LDFLAGS="-L/usr/${libdirname}" \
|
---|
[617118d] | 29 | ./configure --prefix=/usr ${extra_conf} \
|
---|
| 30 | --mandir=/usr/share/man --infodir=/usr/share/info \
|
---|
| 31 | >> ${LOGFILE} 2>&1 &&
|
---|
| 32 | echo " o Configure OK" &&
|
---|
| 33 |
|
---|
| 34 | min_log_init ${BUILDLOGS} &&
|
---|
| 35 | make \
|
---|
| 36 | >> ${LOGFILE} 2>&1 &&
|
---|
| 37 | echo " o Build OK" &&
|
---|
| 38 |
|
---|
| 39 | min_log_init ${INSTLOGS} &&
|
---|
| 40 | make install \
|
---|
| 41 | >> ${LOGFILE} 2>&1 &&
|
---|
| 42 | echo " o ALL OK" || barf
|
---|
| 43 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.