summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-08-30 17:54:51 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-08-30 17:54:51 (GMT)
commit4bb7da8056b2ff480b9c76e963c4ffe12a69ac8e (patch)
tree439f475f55bdcf2ce68a994543d9f41c71e01833 /scripts
parent4ae5ff5fd8f09d67a0cf6ca7952e62454e68f390 (diff)
tools wrapper: correctly install the C wrapper
When building the C wrapper, specify the source file to be compiled.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/internals.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh
index 7837f00..093636a 100644
--- a/scripts/build/internals.sh
+++ b/scripts/build/internals.sh
@@ -61,6 +61,7 @@ do_finish() {
CT_DoExecLog "${HOST_CC}" \
-Wall -Wextra -Wunreachable-code -Werror \
-O3 -static ${_t} \
+ "${CT_LIB_DIR}/scripts/wrapper.c" \
-o ".${CT_TARGET}-wrapper"
;;
esac