Destination Emulation (für ld) wird jetzt gesetzt ($LDEMULATION).
damit tut openldap auch wieder in 32 und 64 Bit git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5293 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
4ae39defcd
commit
2e72f88916
@ -134,11 +134,15 @@ mk32() {
|
||||
mk() {
|
||||
if [ "$MK64BIT" == "true" ]; then
|
||||
ADDOPTIONS="--libdir=/usr/lib64"
|
||||
TARGET_LD="elf_x86_64"
|
||||
else
|
||||
TARGET_LD="elf32_i386"
|
||||
fi
|
||||
CC="gcc $BUILDOPTIONS -I/usr/include/sasl" \
|
||||
CXX="g++ $BUILDOPTIONS -I/usr/include/sasl" \
|
||||
LDFLAGS="-L/usr/$LIBDIR -L/usr/$LIBDIR/sasl2" \
|
||||
USE_ARCH=$UARCH \
|
||||
LDEMULATION=$TARGET_LD \
|
||||
../openldap*/configure --host=$TARGET \
|
||||
--prefix=/usr \
|
||||
$ADDOPTIONS \
|
||||
@ -175,7 +179,7 @@ mk() {
|
||||
--with-mp \
|
||||
--with-gnu-ld
|
||||
make depend
|
||||
make -j $NUMCPU
|
||||
make -j $NUMCPU LDEMULATION=$TARGET_LD
|
||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user