diff options
Diffstat (limited to 'build.template')
-rw-r--r-- | build.template | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build.template b/build.template index aee512f..a91a3c1 100644 --- a/build.template +++ b/build.template @@ -32,6 +32,7 @@ ALLOCA='@ALLOCA@' LOADLIBES='@LIBS@' extras='@LIBOBJS@' REMOTE='@REMOTE@' +GLOBLIB='@GLOBLIB@' # Common prefix for machine-independent installed files. prefix='@prefix@' @@ -48,6 +49,10 @@ set -e # These are all the objects we need to link together. objs="%objs% remote-${REMOTE}.o ${extras} ${ALLOCA}" +if [ x"$GLOBLIB" != x ]; then + objs="$objs %globobjs%" +fi + # Compile the source files into those objects. for file in `echo ${objs} | sed 's/\.o/.c/g'`; do echo compiling ${file}... |