Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5cc6d40

Browse files
committed
install: put a symlink as well in the 4.5 profile prefix
Without this symlink in place from the 4.5 profile folder to4.0's fsc.exe, xbuild gives an error because it is somehowlooking for it in the 4.5 profile (that should be investigatedbut for now this workaround does the trick smartly enough).
1 parent4e910e4 commit5cc6d40

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

‎src/fsharp/Fsc/Makefile.in‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ $(tmpdir)FSCstrings.resources: $(srcdir)../FSCstrings.txt
3333

3434
include$(topdir)/src/fsharp/targets.make
3535

36-
install: install-bin-2 install-bin-4
36+
install: install-bin-2 install-bin-4 install-bin-4-5
3737

‎src/fsharp/targets.make‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ install-bin-2 install-bin-4:
115115
$(INSTALL_LIB)$(outdir)$(ASSEMBLY)$(DESTDIR)$(libdir)mono/$(TARGET)
116116
$(INSTALL_BIN)$(outdir)$(subst fs,fsharp,$(NAME))$(VERSION)$(DESTDIR)/$(bindir)
117117

118+
install-bin-4-5: install-bin-4
119+
@iftest -e$(DESTDIR)$(libdir)mono/4.5/;then\
120+
ln -fs$(DESTDIR)$(libdir)mono/4.0/$(ASSEMBLY)$(DESTDIR)$(libdir)mono/4.5/$(ASSEMBLY);\
121+
fi
122+
118123
$(objdir)$(objdir)$(TARGET_2_0)$(objdir)$(TARGET_4_0):
119124
mkdir -p$@
120125

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp