From 469c9ac2f9da6743e2e6944895c577df490abda5 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 16 Nov 2011 22:18:23 +0200 Subject: Enforce a "lib" prefix for UNO components for Android 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. --- sdext/source/pdfimport/makefile.mk | 2 +- sdext/source/presenter/makefile.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sdext') diff --git a/sdext/source/pdfimport/makefile.mk b/sdext/source/pdfimport/makefile.mk index 64fc1af2feb0..9262ef654dff 100644 --- a/sdext/source/pdfimport/makefile.mk +++ b/sdext/source/pdfimport/makefile.mk @@ -58,7 +58,7 @@ SLOFILES=\ $(SLO)$/services.obj SHL1DLLPRE= -SHL1TARGET=$(TARGET).uno +SHL1TARGET=$(ENFORCEDSHLPREFIX)$(TARGET).uno SHL1LIBS=\ $(SLB)$/pdfmisc.lib \ diff --git a/sdext/source/presenter/makefile.mk b/sdext/source/presenter/makefile.mk index a085439a4db9..e1d15a51636a 100644 --- a/sdext/source/presenter/makefile.mk +++ b/sdext/source/presenter/makefile.mk @@ -99,7 +99,7 @@ SLOFILES= \ # --- Library ----------------------------------- -SHL1TARGET= $(TARGET).uno +SHL1TARGET=$(ENFORCEDSHLPREFIX)$(TARGET).uno SHL1STDLIBS= $(CPPUHELPERLIB) \ $(CPPULIB) \ -- cgit