1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2026-01-19 13:44:41 +01:00
Files
SqMod/vendor/POCO/build/script/makeldpath
Sandu Liviu Catalin f2b7499f85 Update libraries and make it build on windows.
Still gets some warnings because compilers have changed. But should work.
2025-06-25 22:34:23 +03:00

26 lines
414 B
Bash

#! /bin/sh
#
# makeldpath
#
# Create a LD_LIBRARY_PATH for all project libraries.
#
if [ "$POCO_BASE" == "" ] ; then
echo $0": POCO_BASE is not set."
exit 1
fi
projectList=$(cat "${POCO_BASE}"/components)
OSNAME=$(uname)
OSARCH=$(uname -m | tr " /" "_-")
for proj in $projectList ;
do
path=${POCO_BASE}/${proj}/lib/${OSNAME}/${OSARCH}
echo "$path"
if [ -d "$path" ] ; then
printf ":%s" "$path"
fi
done