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

Side by Side Diff: ports/samba/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, 1 month 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 unified diff | Download patch
« no previous file with comments | « ports/ruby-ppapi/main.c ('k') | ports/sqlite/build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2015 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2015 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 # Samba doesn't seem to support building outside the source tree. 6 # Samba doesn't seem to support building outside the source tree.
7 BUILD_DIR=${SRC_DIR} 7 BUILD_DIR=${SRC_DIR}
8 8
9 #NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
10
11 #NACLPORTS_LDFLAGS+="${NACL_CLI_MAIN_LIB}"
12
13 EnableGlibcCompat 9 EnableGlibcCompat
14 10
15 ConfigureStep() { 11 ConfigureStep() {
16 conf_build=$(/bin/sh "${SCRIPT_DIR}/config.guess") 12 conf_build=$(/bin/sh "${SCRIPT_DIR}/config.guess")
17 13
18 SetupCrossEnvironment 14 SetupCrossEnvironment
19 15
20 local CONFIGURE=${NACL_CONFIGURE_PATH:-${SRC_DIR}/configure} 16 local CONFIGURE=${NACL_CONFIGURE_PATH:-${SRC_DIR}/configure}
21 local conf_host=${NACL_CROSS_PREFIX} 17 local conf_host=${NACL_CROSS_PREFIX}
22 if [ "${NACL_ARCH}" = "pnacl" -o "${NACL_ARCH}" = "emscripten" ]; then 18 if [ "${NACL_ARCH}" = "pnacl" -o "${NACL_ARCH}" = "emscripten" ]; then
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 LogExecute ln -sf libwind-samba4.so libwind-samba4.so.0 94 LogExecute ln -sf libwind-samba4.so libwind-samba4.so.0
99 LogExecute ln -sf libtevent.so libtevent.so.0 95 LogExecute ln -sf libtevent.so libtevent.so.0
100 LogExecute ln -sf libgssapi-samba4.so libgssapi-samba4.so.2 96 LogExecute ln -sf libgssapi-samba4.so libgssapi-samba4.so.2
101 LogExecute ln -sf libhcrypto-samba4.so libhcrypto-samba4.so.5 97 LogExecute ln -sf libhcrypto-samba4.so libhcrypto-samba4.so.5
102 LogExecute ln -sf libheimbase-samba4.so libheimbase-samba4.so.1 98 LogExecute ln -sf libheimbase-samba4.so libheimbase-samba4.so.1
103 LogExecute ln -sf libndr-krb5pac.so libndr-krb5pac.so.0 99 LogExecute ln -sf libndr-krb5pac.so libndr-krb5pac.so.0
104 LogExecute ln -sf libtevent-util.so libtevent-util.so.0 100 LogExecute ln -sf libtevent-util.so libtevent-util.so.0
105 LogExecute ln -sf libsamba-credentials.so libsamba-credentials.so.0 101 LogExecute ln -sf libsamba-credentials.so libsamba-credentials.so.0
106 LogExecute ln -sf libsamba-hostconfig.so libsamba-hostconfig.so.0 102 LogExecute ln -sf libsamba-hostconfig.so libsamba-hostconfig.so.0
107 } 103 }
OLDNEW
« no previous file with comments | « ports/ruby-ppapi/main.c ('k') | ports/sqlite/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698