diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-02-26 14:23:57 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-02-26 14:27:49 +0100 |
commit | 482ab0d09620f92eb3618125930dc7c4c8335b5e (patch) | |
tree | 150ddffadff6a64981341dd95a0d38679fe1d054 /scp2 | |
parent | c99a1994889ac68164030459cad87241ef236276 (diff) |
fdo#75526: sdk: install URE library symlinks / import libs again
This is a bit involved because since the LinkTarget now creates the
instdir/sdk/lib/* files itself a Package cannot be used; so convert the
URE libraries to AutoInstall and add special handling for them to
gb_Helper_register_libraries_for_install to create the necessary links
in the "sdk" install-module.
(regression from 70c35265f517ef372cb739d4cc64499abf57a838)
Change-Id: Ia5467f3303d59f7f5f4a88adc22ceffb82a21ff1
Diffstat (limited to 'scp2')
-rwxr-xr-x | scp2/inc/macros.inc | 22 | ||||
-rw-r--r-- | scp2/source/ooo/ure.scp | 35 | ||||
-rw-r--r-- | scp2/source/sdkoo/sdkoo.scp | 5 |
3 files changed, 27 insertions, 35 deletions
diff --git a/scp2/inc/macros.inc b/scp2/inc/macros.inc index 9266bb56e3e7..0fc98a36add5 100755 --- a/scp2/inc/macros.inc +++ b/scp2/inc/macros.inc @@ -172,6 +172,28 @@ End ComponentCondition = cond; \ End +#ifdef MACOSX +// links are craeted at configure time by odk/config/setsdkenv_unix.sh.in +#define SDK_LIBRARY_LINK(id,name,target) +#elif defined(WNT) +#define SDK_LIBRARY_LINK(id,name,target) \ + File id \ + TXT_FILE_BODY; \ + Styles = (PACKED); \ + Dir = gid_Dir_Lib_Sdk; \ + Name = name \ + End +#else +#define SDK_LIBRARY_LINK(id,name,target) \ + Unixlink id \ + BIN_FILE_BODY; \ + Styles = (); \ + Dir = gid_Dir_Lib_Sdk; \ + Name = name; \ + Target = target; \ + End +#endif + #define STD_LIB_FILE(id,name) \ File id \ Name = LIBNAME(name); \ diff --git a/scp2/source/ooo/ure.scp b/scp2/source/ooo/ure.scp index d690ed750daa..00263a9b0286 100644 --- a/scp2/source/ooo/ure.scp +++ b/scp2/source/ooo/ure.scp @@ -94,13 +94,6 @@ End // Public Dynamic Libraries: -File gid_File_Dl_Cppu - LIB_FILE_BODY; - Dir = SCP2_URE_DL_DIR; - Name = SCP2_URE_DL_UNO_VER("cppu", "3"); - Styles = (PACKED); -End - #ifdef AIX Unixlink gid_Unixlink_File_Dl_Cppu BIN_FILE_BODY; @@ -111,13 +104,6 @@ Unixlink gid_Unixlink_File_Dl_Cppu End #endif -File gid_File_Dl_Cppuhelper - LIB_FILE_BODY; - Dir = SCP2_URE_DL_DIR; - Name = SCP2_URE_DL_UNO_COMID_VER("cppuhelper", "3"); - Styles = (PACKED); -End - #ifdef AIX Unixlink gid_Unixlink_File_Dl_Cppuhelper BIN_FILE_BODY; @@ -128,13 +114,6 @@ Unixlink gid_Unixlink_File_Dl_Cppuhelper End #endif -File gid_File_Dl_PurpEnvHelper - LIB_FILE_BODY; - Dir = SCP2_URE_DL_DIR; - Name = SCP2_URE_DL_UNO_COMID_VER("purpenvhelper", "3"); - Styles = (PACKED); -End - #ifdef AIX Unixlink gid_Unixlink_File_Dl_PurpEnvHelper BIN_FILE_BODY; @@ -145,13 +124,6 @@ Unixlink gid_Unixlink_File_Dl_PurpEnvHelper End #endif -File gid_File_Dl_Sal - LIB_FILE_BODY; - Dir = SCP2_URE_DL_DIR; - Name = SCP2_URE_DL_UNO_VER("sal", "3"); - Styles = (PACKED); -End - #ifdef AIX Unixlink gid_Unixlink_File_Dl_Sal BIN_FILE_BODY; @@ -162,13 +134,6 @@ Unixlink gid_Unixlink_File_Dl_Sal End #endif -File gid_File_Dl_Salhelper - LIB_FILE_BODY; - Dir = SCP2_URE_DL_DIR; - Name = SCP2_URE_DL_UNO_COMID_VER("salhelper", "3"); - Styles = (PACKED); -End - #ifdef AIX Unixlink gid_Unixlink_File_Dl_Salhelper BIN_FILE_BODY; diff --git a/scp2/source/sdkoo/sdkoo.scp b/scp2/source/sdkoo/sdkoo.scp index c03b664c2ae4..f73e3e8ef59e 100644 --- a/scp2/source/sdkoo/sdkoo.scp +++ b/scp2/source/sdkoo/sdkoo.scp @@ -59,6 +59,11 @@ Directory gid_Dir_Sdkoo_Bin DosName = "bin"; End +Directory gid_Dir_Lib_Sdk + ParentID = gid_Dir_Sdkoo_Sdk; + DosName = "lib"; +End + Module gid_Module_Root_SDK Name = "sdkoo"; Description = "sdkoo"; |