tags 338935 + patch
found 338935 1.1-3
retitle 338935 ocamlfind shouldn't be stripped on non-native archs
kthxbye
On Mon, Nov 14, 2005 at 16:04:01 +0100, Samuel Mimram wrote:
> Right. Apparently the problem is that ocamlfind is stripped on
> non-native archs also (and thus there's no bytecode...).
>
Hi Stefano,
this problem was introduced when findlib switched to using cdbs, and the
"if [ -x /usr/bin/ocamlopt ]; then dh_strip; else true; fi" line was
removed. I think the following patch should fix this issue:
Index: debian/rules
===================================================================
--- debian/rules (revision 2047)
+++ debian/rules (working copy)
@@ -26,6 +26,9 @@
ifeq ($(HAVE_OCAMLOPT),yes)
build/$(PKGNAME)::
$(MAKE) opt
+else
+# strip removes the bytecode from binaries produced by ocamlc -custom
+DEB_STRIP_EXCLUDE = usr/bin/ocamlfind
endif
install/$(PKGNAME)::
# rm ocamlc.opt and similar settings, they're not avail everywhere in
debian
-
Cheers,
Julien
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]