| Index: ppapi/native_client/src/untrusted/irt_stub/libppapi.so
|
| diff --git a/ppapi/native_client/src/untrusted/irt_stub/libppapi.so b/ppapi/native_client/src/untrusted/irt_stub/libppapi.so
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6cc3e5a671bc59a82ac39f4b7a41985f1812a278
|
| --- /dev/null
|
| +++ b/ppapi/native_client/src/untrusted/irt_stub/libppapi.so
|
| @@ -0,0 +1,17 @@
|
| +/*
|
| + * Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| + */
|
| +
|
| +/*
|
| + * This is a linker script installed as "libppapi.so" so that "-lppapi"
|
| + * in a linking command will find it. We supply the ppapi_stub library
|
| + * that defines a main function for PPAPI-based programs. It's silly to
|
| + * use a shared library for a tiny library that defines main and has
|
| + * undefined symbols the application must define, so we link ppapi_stub
|
| + * statically. That library requires libpthread, so we (dynamically)
|
| + * link to it here as well.
|
| + */
|
| +
|
| +INPUT ( libppapi_stub.a libpthread.so )
|
|
|