summaryrefslogtreecommitdiff
path: root/solenv/inc/unxandr.mk
AgeCommit message (Collapse)AuthorFilesLines
2012-04-20Use --as-needed --no-add-needed for AndroidTor Lillqvist1-2/+5
2012-04-14really replace SDK with SDKBINDavid Tardon1-1/+1
2011-11-30Don't bother with -D_PTHREADS -D_REENTRANT for AndroidTor Lillqvist1-0/+5
2011-11-25No DT_RPATH or DT_RUNPATH support in the Bionic dynamic linkerTor Lillqvist1-1/+9
2011-11-17Enforce a "lib" prefix for UNO components for AndroidTor Lillqvist1-0/+4
This commit for the old build system. (Don't bother for components not relevant for Android.) The Android package installer (as invoked through "adb install", from "ant debug install") silently ignores native libraries in app packages (.apk files) whose names don't start with "lib" and end with ".so". The package builder (as invoked through "ant debug") in the SDK gladly includes also thusly named native libraries in the .apk, though. Yay for consistency.
2011-11-14Also link shared libs always with -llog -landroid -lgnustl_sharedTor Lillqvist1-0/+2
2011-11-14Link with -lgnustl_shared on AndroidTor Lillqvist1-2/+2
2011-11-08Revert "Just put the Android ARM compiler options in the mk files"Tor Lillqvist1-10/+5
Nah. Sure, doing it like that is sane if you consider only our own code. But it won't help in making sure these options are used when compiling the 3rd-party external libraries. For that having the options already in the CC and CXX environment variables works nicely, I think. People just need to look at the samples in README.cross. Perhaps we could add the options to CC and CXX in configure.in, though? Is that elegant or not, don't know... This reverts commit 3c4f7242a967d6a3cb9e5e3f88bfb2cc348cc3eb.
2011-11-08Just put the Android ARM compiler options in the mk filesTor Lillqvist1-5/+10
2011-11-07For Android, we don't actually want to build programs, but shared librariesTor Lillqvist1-0/+17
That's what the NativeActivity stuff wants. For now the name of the produced shared library does not follow the normal libfoo.so convention, but is the name of the corresponding program on normal Unixes. To be fixed later. Or then, when constructing an app .apk, just rename "foo" to "libnative-foo.so".
2011-06-02Unify DLLPOSTFIX value on all platforms.Francois Tigeot1-1/+0
There is no justification for changing some shared library file names depending on the platform used.
2011-05-18Include unxgcc and not unxlng, use unique DLLPOSTFIXTor Lillqvist1-3/+3
2011-05-16Add Android .mk fileTor Lillqvist1-0/+34