Stub haeder für unterschiedliche glibconfig.h includes bei 32 oder 64 bit build hinzugefügt
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5442 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
6a56d10491
commit
7fbd7ad7ca
@ -127,4 +127,24 @@ postmk() {
|
||||
sed -i -e "s/\(G_CONVERTER_FLUSH.*= (1 << 1)\),\(.*$\)/\1 \2/" \
|
||||
-e "s/\(G_CONVERTER_FLUSHED.*= 3\),\(.*$\)/\1 \2/" \
|
||||
$TMPROOT/usr/include/glib-2.0/gio/gioenums.h
|
||||
if [ "$MK64BIT" == "true" ]; then
|
||||
rm -f $TMPROOT/usr/include/glibconfig.h
|
||||
cat >$TMPROOT/usr/include/glibconfig.h <<"EOF"
|
||||
/* glibconfig.h - Stub Header */
|
||||
#ifndef __STUB_GLIBCONFIG_H__
|
||||
#define __STUB_GLIBCONFIG_H__
|
||||
|
||||
#if defined(__x86_64__) || \
|
||||
defined(__sparc64__) || \
|
||||
defined(__arch64__) || \
|
||||
defined(__powerpc64__) || \
|
||||
defined(__s390x__)
|
||||
# include "/usr/lib64/glib-2.0/include/glibconfig.h"
|
||||
#else
|
||||
# include "/usr/lib/glib-2.0/include/glibconfig.h""
|
||||
#endif
|
||||
|
||||
#endif /* __STUB_GLIBCONFIG_H__ */
|
||||
EOF
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user