>From https://buckbuild.com/rule/cxx_library.html , it seems to
support shared PIC-enabled build on Android.

bq. it is main, it is not shared library?

I added main() because you started with cxx_binary in BUCK which requires
main().

I did a quick search but haven't found build target in BUCK which
generates shared
PIC-enabled output.

Consider using make / CMake.

On Sat, Sep 30, 2017 at 12:17 AM, Andrzej <[email protected]> wrote:

> W dniu 30.09.2017 o 06:46, Ted Yu pisze:
>
>> https://pastebin.com/PPGkuxGS
>>
>
> > int main(int argc, char *argv[]) {
>
> I see, it is main, it is not shared library?
>
>
>> In BUCK, there is no need for compiler_flags and linker_flags
>>
>
> Compiler flags and linker flags to compilation .so file instead executable
> binary.
> Code pastebin.com/PPGkuxGS creates executable or shared library?
>

Reply via email to