Last change
on this file was 846, checked in by Dmitry A. Kuminov, 14 years ago |
trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.
|
-
Property svn:executable
set to
*
|
File size:
543 bytes
|
Rev | Line | |
---|
[2] | 1 | #!/bin/sh
|
---|
| 2 |
|
---|
| 3 | BSYMBOLIC_FUNCTIONS_SUPPORT=no
|
---|
| 4 | COMPILER=$1
|
---|
| 5 | VERBOSE=$2
|
---|
| 6 |
|
---|
[846] | 7 |
|
---|
[2] | 8 | cat >>bsymbolic_functions.c << EOF
|
---|
| 9 | int main() { return 0; }
|
---|
| 10 | EOF
|
---|
| 11 |
|
---|
[846] | 12 | $COMPILER -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c >/dev/null 2>&1 && BSYMBOLIC_FUNCTIONS_SUPPORT=yes
|
---|
[2] | 13 | rm -f bsymbolic_functions.c libtest.so
|
---|
| 14 |
|
---|
| 15 | # done
|
---|
| 16 | if [ "$BSYMBOLIC_FUNCTIONS_SUPPORT" != "yes" ]; then
|
---|
| 17 | [ "$VERBOSE" = "yes" ] && echo "Symbolic function binding disabled."
|
---|
| 18 | exit 0
|
---|
| 19 | else
|
---|
| 20 | [ "$VERBOSE" = "yes" ] && echo "Symbolic function binding enabled."
|
---|
| 21 | exit 1
|
---|
| 22 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.