/usr/libexec
#!/usr/bin/sh # Keep this script in sync with python-config.in exit_with_usage () { echo "Usage: $0 --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--abiflags|--configdir|--embed" exit $1 } if [ "$1" = "" ] ; then exit_with_usage 1 fi # Returns the actual prefix where this script was installed to. installed_prefix () { RESULT=$(dirname $(cd $(dirname "$1") && pwd -P)) if which readlink >/dev/null 2>&1 ; then if readlink -f "$RESULT" >/dev/null 2>&1; then RESULT=$(readlink -f "$RESULT") fi fi echo $RESULT } prefix_real=$(installed_prefix "$0") # Use sed to fix paths from their built-to locations to their installed-to # locations. Keep prefix & exec_prefix using their original values in case # they are referenced in other configure variables, to prevent double # substitution, issue #22140. prefix="/usr" exec_prefix="/usr" exec_prefix_real=${prefix_real} includedir=$(echo "/usr/include" | sed "s#$prefix#$prefix_real#") libdir=$(echo "/usr/lib64" | sed "s#$prefix#$prefix_real#") CFLAGS=$(echo " -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv " | sed "s#$prefix#$prefix_real#") VERSION="3.9" LIBM="-lm" LIBC="" SYSLIBS="$LIBM $LIBC" ABIFLAGS="" LIBS=" -lcrypt -ldl -lm $SYSLIBS" LIBS_EMBED="-lpython${VERSION}${ABIFLAGS} -lcrypt -ldl -lm $SYSLIBS" BASECFLAGS=" -Wno-unused-result -Wsign-compare" LDLIBRARY="libpython${LDVERSION}.so" OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv" PY_ENABLE_SHARED="1" LDVERSION="${VERSION}${ABIFLAGS}" LIBDEST=${prefix_real}/lib/python${VERSION} LIBPL=$(echo "${prefix}/lib64/python3.9/config-${VERSION}${ABIFLAGS}-x86_64-linux-gnu" | sed "s#$prefix#$prefix_real#") SO=".cpython-39-x86_64-linux-gnu.so" PYTHONFRAMEWORK="" INCDIR="-I$includedir/python${VERSION}${ABIFLAGS}" PLATINCDIR="-I$includedir/python${VERSION}${ABIFLAGS}" PY_EMBED=0 # Scan for --help or unknown argument. for ARG in $* do case $ARG in --help) exit_with_usage 0 ;; --embed) PY_EMBED=1 ;; --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--abiflags|--configdir) ;; *) exit_with_usage 1 ;; esac done if [ $PY_EMBED = 1 ] ; then LIBS="$LIBS_EMBED" fi for ARG in "$@" do case "$ARG" in --prefix) echo "$prefix_real" ;; --exec-prefix) echo "$exec_prefix_real" ;; --includes) echo "$INCDIR $PLATINCDIR" ;; --cflags) echo "$INCDIR $PLATINCDIR $BASECFLAGS $CFLAGS $OPT" ;; --libs) echo "$LIBS" ;; --ldflags) LIBPLUSED= if [ "$PY_ENABLE_SHARED" = "0" ] ; then LIBPLUSED="-L$LIBPL" fi echo "$LIBPLUSED -L$libdir $LIBS" ;; --extension-suffix) echo "$SO" ;; --abiflags) echo "$ABIFLAGS" ;; --configdir) echo "$LIBPL" ;; esac done
.
Edit
..
Edit
arptables-helper
Edit
arptables-nft-helper
Edit
at-spi-bus-launcher
Edit
at-spi2-registryd
Edit
awk
Edit
cloudlinux-backup
Edit
copy_jdk_configs.lua
Edit
copy_jdk_configs_fixFiles.sh
Edit
coreutils
Edit
cpanel-pdns
Edit
dconf-service
Edit
dirmngr_ldap
Edit
dnf-utils
Edit
dovecot
Edit
dpkg
Edit
exim.daemon
Edit
fips-setup-helper
Edit
flatpak-oci-authenticator
Edit
flatpak-portal
Edit
flatpak-session-helper
Edit
flatpak-system-helper
Edit
flatpak-validate-icon
Edit
gawk
Edit
gcc
Edit
generate-rndc-key.sh
Edit
geoclue
Edit
geoclue-2.0
Edit
getconf
Edit
git-core
Edit
glib-pacrunner
Edit
gpg-check-pattern
Edit
gpg-pair-tool
Edit
gpg-preset-passphrase
Edit
gpg-protect-tool
Edit
gpg-wks-client
Edit
grepconf.sh
Edit
grub2
Edit
grubby
Edit
gstreamer-1.0
Edit
hostname
Edit
import-state
Edit
imunify-message-gateway
Edit
imunify-notifier
Edit
imunify360
Edit
imunify360-cgroup-process-wrapper
Edit
initscripts
Edit
installkernel
Edit
irqbalance
Edit
keyboxd
Edit
linux-boot-probes
Edit
loadmodules
Edit
low-memory-monitor
Edit
man-db
Edit
microcode_ctl
Edit
netdata
Edit
nfs-utils
Edit
nfsrahead
Edit
nm-daemon-helper
Edit
nm-dhcp-helper
Edit
nm-dispatcher
Edit
nm-ifdown
Edit
nm-ifup
Edit
nm-initrd-generator
Edit
nm-priv-helper
Edit
openldap
Edit
openssh
Edit
os-prober
Edit
os-probes
Edit
p11-kit
Edit
passenger
Edit
platform-python
Edit
platform-python-config
Edit
platform-python3.9
Edit
platform-python3.9-config
Edit
platform-python3.9-x86_64-config
Edit
report-command-error
Edit
revokefs-fuse
Edit
rtkit-daemon
Edit
run-with-intensity
Edit
scdaemon
Edit
selinux
Edit
smartmontools
Edit
sssd
Edit
sudo
Edit
totem-pl-parser
Edit
tracker-extract-3
Edit
tracker-miner-fs-3
Edit
tracker-miner-fs-control-3
Edit
tracker-writeback-3
Edit
tracker-xdg-portal-3
Edit
tracker3
Edit
tuned
Edit
upowerd
Edit
utempter
Edit
vi
Edit
virt-what-cpuid-helper
Edit
xdg-desktop-portal
Edit
xdg-desktop-portal-gtk
Edit
xdg-document-portal
Edit
xdg-permission-store
Edit