| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | if [scip-shell system . . `[`. $# -ne 1 ]; then |
| 4 | echoscip-shell system . . echo. "python3-flags.sh [--ldflags|--includes]" |
| 5 | exit 1 |
| 6 | fi |
| 7 | |
| 8 | python3-config $1 --embed > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 |
| 9 | |
| 10 | if [scip-shell system . . `[`. $? -eq 0 ]; then |
| 11 | python3-config $1 --embed |
| 12 | else |
| 13 | python3-config $1 |
| 14 | fi |