Skip to content
Snippets Groups Projects
Commit 5fe3c86b authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

never used

Rev: src/get_linker_options:1.2(DEAD)
parent f16bd38a
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
#
# Build a list of things to link from module subdirs
# Modules that need extra libraries should create a file
# 'linker_opts' in the build tree containing the required
# linker options
#
fullnames=`cat $1`
dirs=
for dir in $fullnames
do
dir="`echo $dir|sed 's,^.*/\([^/]*\)$,\1,'`" # Portable (?) basename
dirs="$dirs $dir"
done
for dir in $fullnames
do
echo modules/$modname/$modname.a
done
for dir in $fullnames
do
if [ -f modules/$modname/linker_opts ]; then
cat modules/$modname/linker_opts
fi
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment