| Index: ports/blackbox/build.sh
|
| diff --git a/ports/blackbox/build.sh b/ports/blackbox/build.sh
|
| index f09f8fd86b17bef412581394fb7d0d732d6c4e88..ef0d6a5b42eafcb29564157ebc196780e571e120 100644
|
| --- a/ports/blackbox/build.sh
|
| +++ b/ports/blackbox/build.sh
|
| @@ -8,12 +8,12 @@ EXTRA_CONFIGURE_ARGS+=" --x-libraries=${NACLPORTS_LIBDIR}"
|
|
|
| EXECUTABLES="src/blackbox util/bsetroot util/bstyleconvert"
|
|
|
| -export EXTRA_LIBS+="-liconv \
|
| - -lXext -lXmu -lSM -lICE -lXt -lX11 -lxcb -lXau ${NACL_CLI_MAIN_LIB}"
|
| +NACLPORTS_LIBS+=" -liconv -lXext -lXmu -lSM -lICE -lXt -lX11 -lxcb -lXau"
|
|
|
| -# TODO(bradnelson): Find a better general pattern for this.
|
| -# Repeat these here to include them which checking for X11 and linking libxcb,
|
| -# which references ki_fcntl directly.
|
| -NACLPORTS_LIBS+=" -lnacl_io -pthread"
|
| +if [[ ${NACL_LIBC} == newlib ]]; then
|
| + # Due to missing sys/ipc.h header
|
| + EXTRA_CONFIGURE_ARGS+=" --disable-mitshm"
|
| +fi
|
|
|
| +EnableCliMain
|
| EnableGlibcCompat
|
|
|