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

Commitac40099

Browse files
committed
install: add symlinks to MS.FSharp.targets to make xbuild happy
By default, F# projects created in VisualStudio 2010 reference atargets file which in Unix systems should be located in a path like/usr/lib/mono/Microsoft F#/v4.0 (if prefix is /usr). For this towork a symlink is required from each target profile.This issue was reported inhttp://stackoverflow.com/questions/7829805/xbuild-and-f-vs2010-projectAnd this fix removes the need for the first workaround mentioned inhttp://xtzgzorex.wordpress.com/2011/01/08/f-and-xbuild-debian/
1 parent10e57f8 commitac40099

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/fsharp/targets.make‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ install-lib-2 install-lib-4:
103103
ln -fs ../gac/$(NAME)/$(VERSION)__$(TOKEN)/$(NAME).optdata$(DESTDIR)/$(libdir)mono/$(TARGET)/;\
104104
fi
105105
$(INSTALL_LIB)$(outdir)Microsoft.FSharp.targets$(DESTDIR)/$(libdir)mono/$(TARGET)/;
106+
mkdir -p$(DESTDIR)/$(libdir)mono/Microsoft\F#/v$(TARGET)/
107+
ln -fs$(DESTDIR)/$(libdir)mono/$(TARGET)/Microsoft.FSharp.targets$(DESTDIR)/$(libdir)mono/Microsoft\F#/v$(TARGET)/Microsoft.FSharp.Targets
106108

107109
install-bin-2install-bin-4:
108110
sed -e's,[@]DIR[@],$(libdir)mono/$(TARGET),g' -e's,[@]TOOL[@],$(ASSEMBLY),g'<$(topdir)launcher.in>$(outdir)$(subst fs,fsharp,$(NAME))$(VERSION)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp