diff options
author | Steve Bennett <steveb@workware.net.au> | 2020-11-08 09:31:26 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2020-11-08 10:17:57 +1000 |
commit | 4b865fed1ad29c97c1b21757d953886758b22796 (patch) | |
tree | 809c9f5f10713cc01d42e45f0269c53559948b5b /auto.def | |
parent | 8e1a22bac49a3acb1ee757ca34ed16b27bb7cd17 (diff) | |
download | jimtcl-4b865fed1ad29c97c1b21757d953886758b22796.zip jimtcl-4b865fed1ad29c97c1b21757d953886758b22796.tar.gz jimtcl-4b865fed1ad29c97c1b21757d953886758b22796.tar.bz2 |
build: Fix build and tests for out-of-tree build
Loadable modules and tests
Fixes #179
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r-- | auto.def | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -558,7 +558,7 @@ foreach mod $extinfo(module-c) { set obj [file rootname $src].o lappend objs $obj lappend lines "\t\$(ECHO)\t\"\tCC\t$obj\"" - lappend lines "\t\$(Q)\$(CC) \$(CFLAGS) \$(SHOBJ_CFLAGS) -c -o $obj $src" + lappend lines "\t\$(Q)\$(CC) \$(CFLAGS) \$(SHOBJ_CFLAGS) -c -o $obj \$(srcdir)/$src" } lappend lines "\t\$(ECHO)\t\"\tLDSO\t\$@\"" lappend lines "\t\$(Q)\$(CC) \$(CFLAGS) \$(LDFLAGS) \$(SHOBJ_LDFLAGS) -o \$@ $objs \$(SH_LIBJIM) $libs" |