Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

install: symlink libs too from 4.5 to 4.0

This commit was incomplete because it only linked
executables, not libraries:

5cc6d40
  • Loading branch information...
commit 473bcd4f8526e0e5ca3de099b55206c38539c426 1 parent 09be1cb
@knocte knocte authored
View
2  src/fsharp/FSharp.Core/Makefile.in
@@ -79,5 +79,5 @@ $(tmpdir)FSCore.resources: $(srcdir)FSCore.resx
include $(topdir)/src/fsharp/targets.make
-install: install-lib-2 install-lib-4
+install: install-lib-2 install-lib-4 install-lib-4-5
View
2  src/fsharp/fsi/Makefile.in
@@ -37,5 +37,5 @@ $(tmpdir)FSIstrings.resources: $(srcdir)/FSIstrings.txt
include $(topdir)/src/fsharp/targets.make
-install: install-bin-2 install-bin-4
+install: install-bin-2 install-bin-4 install-bin-4-5
View
7 src/fsharp/targets.make
@@ -107,6 +107,13 @@ install-lib-2 install-lib-4:
$(INSTALL_LIB) $(outdir)Microsoft.FSharp.targets $(DESTDIR)/$(libdir)mono/$(TARGET)/;
ln -fs $(DESTDIR)/$(libdir)mono/$(TARGET)/Microsoft.FSharp.targets $(DESTDIR)/$(libdir)mono/Microsoft\ F#/v$(TARGET)/Microsoft.FSharp.Targets
+install-lib-4-5: install-lib-4
+ @if test -e $(DESTDIR)$(libdir)mono/4.5/; then \
+ ln -fs $(DESTDIR)$(libdir)mono/4.0/$(ASSEMBLY) $(DESTDIR)$(libdir)mono/4.5/$(ASSEMBLY); \
+ ln -fs $(DESTDIR)$(libdir)mono/4.0/$(NAME).sigdata $(DESTDIR)$(libdir)mono/4.5/$(NAME).sigdata; \
+ ln -fs $(DESTDIR)$(libdir)mono/4.0/$(NAME).optdata $(DESTDIR)$(libdir)mono/4.5/$(NAME).optdata; \
+ fi
+
install-bin-2 install-bin-4:
sed -e 's,[@]DIR[@],$(libdir)mono/$(TARGET),g' -e 's,[@]TOOL[@],$(ASSEMBLY),g' < $(topdir)launcher.in > $(outdir)$(subst fs,fsharp,$(NAME))$(VERSION)
chmod +x $(outdir)$(subst fs,fsharp,$(NAME))$(VERSION)
Please sign in to comment.
Something went wrong with that request. Please try again.