Hi,
While cross compiling python for linux using windows, I am setting exec_prefix and prefix to /usr. The following is my config command,
CONFIG_SITE=config.site configure --host=i386-linux-gnu --build=x86_64-pc-cygwin --with-build-python=/usr/local/bin/python3 --prefix=/usr --exec-prefix=/usr
I am using msys2 for cross compilation, however after make my PREFIX and EXEC_PREFIX is being set to
$ strings usr/lib/libpython3.12.so | grep -C 5 "C:/msys64"
PREFIX
-|#define PREFIX "C:/msys64/usr"
EXEC_PREFIX
#define EXEC_PREFIX "C:/msys64/usr"
where exactly does PREFIX and EXEC_PREFIX gets defined, a simple search through the source is not helping. any help would be much appreciated.