| OLD | NEW |
| 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 EXTRA_CONFIGURE_ARGS+=" --with-x" | 5 EXTRA_CONFIGURE_ARGS+=" --with-x" |
| 6 EXTRA_CONFIGURE_ARGS+=" --x-includes=${NACLPORTS_INCLUDE}" | 6 EXTRA_CONFIGURE_ARGS+=" --x-includes=${NACLPORTS_INCLUDE}" |
| 7 EXTRA_CONFIGURE_ARGS+=" --x-libraries=${NACLPORTS_LIBDIR}" | 7 EXTRA_CONFIGURE_ARGS+=" --x-libraries=${NACLPORTS_LIBDIR}" |
| 8 | 8 |
| 9 EXECUTABLES="src/blackbox util/bsetroot util/bstyleconvert" | 9 EXECUTABLES="src/blackbox util/bsetroot util/bstyleconvert" |
| 10 | 10 |
| 11 export EXTRA_LIBS+="-liconv \ | 11 NACLPORTS_LIBS+=" -liconv -lXext -lXmu -lSM -lICE -lXt -lX11 -lxcb -lXau" |
| 12 -lXext -lXmu -lSM -lICE -lXt -lX11 -lxcb -lXau ${NACL_CLI_MAIN_LIB}" | |
| 13 | 12 |
| 14 # TODO(bradnelson): Find a better general pattern for this. | 13 if [[ ${NACL_LIBC} == newlib ]]; then |
| 15 # Repeat these here to include them which checking for X11 and linking libxcb, | 14 # Due to missing sys/ipc.h header |
| 16 # which references ki_fcntl directly. | 15 EXTRA_CONFIGURE_ARGS+=" --disable-mitshm" |
| 17 NACLPORTS_LIBS+=" -lnacl_io -pthread" | 16 fi |
| 18 | 17 |
| 18 EnableCliMain |
| 19 EnableGlibcCompat | 19 EnableGlibcCompat |
| OLD | NEW |