67e088b34b9065ab579fb73d335a2de22a06a344
[mono.git] / packaging / MacSDK / patches / fsharp-Fix-mono-gac-location.patch
1 From 208aa8170bede4c176b5e3afa6811d1d7a5a330c Mon Sep 17 00:00:00 2001
2 From: nosami <jasonimison@gmail.com>
3 Date: Tue, 11 Apr 2017 12:10:04 +0100
4 Subject: [PATCH] Fix mono/gac location
5
6 ---
7  src/fsharp/targets.make | 6 +++---
8  1 file changed, 3 insertions(+), 3 deletions(-)
9
10 diff --git a/src/fsharp/targets.make b/src/fsharp/targets.make
11 index 014294a..716adb7 100644
12 --- a/src/fsharp/targets.make
13 +++ b/src/fsharp/targets.make
14 @@ -157,9 +157,9 @@ install-gac-lib:
15                                 echo "Using gacutil to install $(outdir)$(ASSEMBLY) into GAC root $(DESTDIR)$(libdir) as package $(TARGET)"; \
16                                 $(monobindir)/gacutil -i $(outdir)$(ASSEMBLY) -root $(DESTDIR)$(libdir) -package $(TARGET); \
17                         else \
18 -                               echo "Installing $(outdir)$(NAME).dll to $(DESTDIR)$(gacdir)/gac/$(NAME)/$(VERSION)__$(TOKEN)/"; \
19 -                               mkdir -p $(DESTDIR)$(gacdir)/gac/$(NAME)/$(VERSION)__$(TOKEN)/; \
20 -                               $(INSTALL_LIB) $(outdir)$(NAME).dll $(DESTDIR)$(gacdir)/gac/$(NAME)/$(VERSION)__$(TOKEN)/; \
21 +                               echo "Installing $(outdir)$(NAME).dll to $(DESTDIR)$(monodir)/gac/$(NAME)/$(VERSION)__$(TOKEN)/"; \
22 +                               mkdir -p $(DESTDIR)$(monodir)/gac/$(NAME)/$(VERSION)__$(TOKEN)/; \
23 +                               $(INSTALL_LIB) $(outdir)$(NAME).dll $(DESTDIR)$(monodir)/gac/$(NAME)/$(VERSION)__$(TOKEN)/; \
24                         fi; \
25         fi
26  
27 -- 
28 2.8.0
29