[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [paparazzi/paparazzi] cc3bfa: [ocaml] try to work ar
From: |
GitHub |
Subject: |
[paparazzi-commits] [paparazzi/paparazzi] cc3bfa: [ocaml] try to work around ocamlbuild build-dir fu... |
Date: |
Thu, 19 Mar 2015 16:33:53 -0700 |
Branch: refs/heads/ocamlbuild
Home: https://github.com/paparazzi/paparazzi
Commit: cc3bfa5c6d37bd6c3ab3fde95760fe44ea3550db
https://github.com/paparazzi/paparazzi/commit/cc3bfa5c6d37bd6c3ab3fde95760fe44ea3550db
Author: Felix Ruess <address@hidden>
Date: 2015-03-20 (Fri, 20 Mar 2015)
Changed paths:
M sw/lib/ocaml/Makefile
Log Message:
-----------
[ocaml] try to work around ocamlbuild build-dir fuckups
Oh, this is so great...
Due to a bug in older ocamlbuild versions the build-dir can NOT be absolute
(WTF???)
see http://caml.inria.fr/mantis/view.php?id=5503
But don't you think for a second that "simply" making sure the build-dir
argument is always relative will just work:
Seems that the build-dir path can't contain '..' either!! HA! GOTCHA!
So some GNU make dark magic to the rescue to provide a sensible default for
PAPARAZZI_HOME (with absolute path),
regardless from which working directory the makefile is called...
Puh! Let's just hope that now finally works in all cases... wasted enough hours
of my life on this..
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [paparazzi/paparazzi] cc3bfa: [ocaml] try to work around ocamlbuild build-dir fu...,
GitHub <=