OCaml Forge
SCM

Detail: [#1342] make install target should handle windows style backslashes without barfing

Bugs: Browse | Download .csv | Monitor

[#1342] make install target should handle windows style backslashes without barfing

Date:
2013-11-07 04:12
Priority:
3
State:
Open
Submitted by:
Jason Gross (jasongross)
Assigned to:
Nobody (None)
Hardware:
PC
Resolution:
None
Severity:
normal
Version:
None
Component:
None
Operating System:
Windows XP
Product:
None
 
URL:
Summary:
make install target should handle windows style backslashes without barfing

Detailed description
Please change the line
$(RANLIB) $(CLIBS:%=$(FLINSTALLDIR)/%)
to
$(RANLIB) "$(CLIBS:%=$(FLINSTALLDIR)/%)"
in src/Makefile so that the install target will handle backslashes in the OCaml lib path on windows.

(Also, I'm on windows 8, not windows xp, but the bug tracker doesn't have an OS for that.)

Followup

Message
Date: 2014-09-19 09:28
Sender: Jason Gross

I strongly suspect that that would be sufficient, though I haven't tested it.

Why would my suggested fix break things on Unix?
Date: 2014-09-18 06:10
Sender: Jacques Garrigue

Sorry for the very slow answer.
Actually, the fix you suggest would break installation on Unix oses (i.e. every other than windows).
Would
$(RANLIB) $(CLIBS:%="$(FLINSTALLDIR)"/%)
solve your problem?

Attached Files:

Changes:

No Changes Have Been Made to This Item