| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2013 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2013 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 source pkg_info | |
| 7 source ../../build_tools/common.sh | |
| 8 | 6 |
| 9 ConfigureStep() { | 7 ConfigureStep() { |
| 10 # TODO(binji): turn on shared building for glibc (need -fPIC) | 8 # TODO(binji): turn on shared building for glibc (need -fPIC) |
| 11 local BUILD_SHARED=FALSE | 9 local BUILD_SHARED=FALSE |
| 12 # TODO(binji): The tests don't currently build without zlib as a shared | 10 # TODO(binji): The tests don't currently build without zlib as a shared |
| 13 # library. | 11 # library. |
| 14 local BUILD_TEST=FALSE | 12 local BUILD_TEST=FALSE |
| 15 | 13 |
| 16 EXTRA_CMAKE_ARGS=" \ | 14 EXTRA_CMAKE_ARGS=" \ |
| 17 -DPHYSFS_BUILD_SHARED=${BUILD_SHARED} \ | 15 -DPHYSFS_BUILD_SHARED=${BUILD_SHARED} \ |
| 18 -DPHYSFS_BUILD_TEST=${BUILD_TEST}" | 16 -DPHYSFS_BUILD_TEST=${BUILD_TEST}" |
| 19 | 17 |
| 20 CMakeConfigureStep | 18 CMakeConfigureStep |
| 21 } | 19 } |
| 22 | |
| 23 PackageInstall | |
| 24 exit 0 | |
| OLD | NEW |