|
Last change
on this file since 961 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
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 |
|
|---|
| 3 | BSYMBOLIC_FUNCTIONS_SUPPORT=no
|
|---|
| 4 | COMPILER=$1
|
|---|
| 5 | VERBOSE=$2
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 | cat >>bsymbolic_functions.c << EOF
|
|---|
| 9 | int main() { return 0; }
|
|---|
| 10 | EOF
|
|---|
| 11 |
|
|---|
| 12 | $COMPILER -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c >/dev/null 2>&1 && BSYMBOLIC_FUNCTIONS_SUPPORT=yes
|
|---|
| 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.