Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(528)

Unified Diff: ports/libxpm/build.sh

Issue 1417223003: Switch from using 'nacl_main' to 'main' entry point (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/libxcb/build.sh ('k') | ports/lua/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/libxpm/build.sh
diff --git a/ports/libxpm/build.sh b/ports/libxpm/build.sh
index 39a35e2254465a8065a30d1cb339a32e3d3d3e8f..d569c8e0347ea1aef8a1f94f740dffc3b74a2834 100644
--- a/ports/libxpm/build.sh
+++ b/ports/libxpm/build.sh
@@ -2,8 +2,10 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+NACLPORTS_LIBS+=" -lnacl_io"
+
# The transtive dependencies of libxpm include nacl_io which is
# written in C++. Without this sxpm binary fails to link.
-if [ "${NACL_SHARED}" != "1" ]; then
+if [[ ${NACL_SHARED} != 1 ]]; then
NACLPORTS_LIBS+=" -l${NACL_CXX_LIB} -pthread"
fi
« no previous file with comments | « ports/libxcb/build.sh ('k') | ports/lua/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698