diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-09-21 01:35:41 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-09-22 11:08:32 +0200 |
commit | 814ec7640fc2a529343e358ab4fd3b9a59d645ca (patch) | |
tree | 0462df8c1f5dc24f4d65be6b01c1f297d570a8f0 /cli_ure/Module_cli_ure.mk | |
parent | cli_ure: cleanup in Library_cli_cppuhelper_native (diff) | |
download | core-814ec7640fc2a529343e358ab4fd3b9a59d645ca.tar.gz core-814ec7640fc2a529343e358ab4fd3b9a59d645ca.zip |
cli_ure: copy cli_basetypes to INSTDIR/sdk/bin
The library is already in the URE/bin directory, but that is not
sufficient to be able to run sdk/bin/climaker.exe.
There are apparently 4 ways for a .net/CLR executable to locate
shared libraries:
1) in the same directory as the executable
2) in some mysterious "GAC" thing in C:/Windows
(which is presumably how it works if you actually install LO)
3) via an application configuration file entry "probing",
which only works when it's in a sub-directory of the
one the executable is in
4) via a DEVPATH variable, but that only works with a
special configuration entry in a system "machine config" file
of the .net framework
Specifically PATH is apparently ignored. Since building on Windows is
enough of a PITA already and we don't want developers to have to edit
another config file, put another copy of the library into sdk/bin.
http://tutorials.csharp-online.net/.NET_CLR_Components%E2%80%94Resolving_Names_to_Locations
http://tutorials.csharp-online.net/.NET_CLR_Components%E2%80%94CLR_Loader
Change-Id: I511957ad9a9a918ed0c316126304a1980fb2d289
Diffstat (limited to 'cli_ure/Module_cli_ure.mk')
-rw-r--r-- | cli_ure/Module_cli_ure.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli_ure/Module_cli_ure.mk b/cli_ure/Module_cli_ure.mk index 64f9bb916bd2..0c2e9dafb914 100644 --- a/cli_ure/Module_cli_ure.mk +++ b/cli_ure/Module_cli_ure.mk @@ -24,6 +24,7 @@ $(eval $(call gb_Module_add_targets,cli_ure,\ Library_cli_cppuhelper_native \ Library_cli_uno \ Package_config \ + Package_cli_basetypes_copy \ )) endif |