Skip to content

Commit 28d3540

Browse files
committed
add optdata/sigdata for net40 only
1 parent e28fca0 commit 28d3540

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
@@ -185,6 +185,7 @@ install-sdk-lib:
185185
$(INSTALL_LIB) $(outdir)$(ASSEMBLY) $(DESTDIR)$(gacdir)/fsharp; \
186186
$(INSTALL_LIB) $(outdir)$(NAME).xml $(DESTDIR)$(gacdir)/fsharp; \
187187
else \
188+
if test x-$(TargetFramework) = x-net40; then \
188189
if test -e $(outdir)$(NAME).dll; then \
189190
echo "Installing $(outdir)$(NAME).dll to $(DESTDIR)$(gacdir)/fsharp/"; \
190191
mkdir -p $(DESTDIR)$(gacdir)/fsharp/; \
@@ -205,6 +206,7 @@ install-sdk-lib:
205206
mkdir -p $(DESTDIR)$(gacdir)/fsharp/; \
206207
$(INSTALL_LIB) $(outdir)$(NAME).optdata $(DESTDIR)$(gacdir)/fsharp/; \
207208
fi; \
209+
fi; \
208210
fi
209211

210212
# The binaries fsc.exe and fsi.exe only get installed for Mono 4.5 profile

0 commit comments

Comments
 (0)