You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.3 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../pkgconfig/pkgconfig.conf
# Copyright (C) 2006 - 2014 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
if atstage cross; then
# hacks to cross compile it's internal glibc 1.2.10
#
# NOTE: sizeof_gmutex=24 is most probably invalid on other architectures
for x in has__inline=yes has__inline__=yes hasinline=yes \
sane_realloc=yes va_copy=yes __va_copy=yes va_val_copy=yes \
rtldglobal_broken=no uscore=no sizeof_gmutex=24
do
var_append configcache ' ' "glib_cv_$x"
done
var_append configcache ' ' 'ac_cv_func_getpwuid_r=yes'
fi
if ! atstage toolchain; then
hook_add postmake 5 'cp -vf $confdir/etc_profile.d_pkgconfig.txt $root/etc/profile.d/pkgconfig'
else
var_append extraconfopt ' ' '--program-prefix=${arch_target}-'
# create a symlink pkg-config -> ${arch_target}-pkg-config
hook_add postmake 5 'ln -vsf ${arch_target}-pkg-config $root$bindir/pkg-config'
fi