diff src/ocaml-flexdll.mk @ 3006:dabfd7db980c

use cp for ln on mingw native builds
author John W. Eaton <jwe@octave.org>
date Thu, 30 May 2013 13:28:23 -0400
parents 72427f641846
children 100e618349f7
line wrap: on
line diff
--- a/src/ocaml-flexdll.mk	Thu May 30 13:17:57 2013 -0400
+++ b/src/ocaml-flexdll.mk	Thu May 30 13:28:23 2013 -0400
@@ -30,7 +30,7 @@
 		flexdll_initer_mingw.o \
 		'$(PREFIX)/$(TARGET)/lib/ocaml/flexdll'
 	# create flexdll scripts
-	cd '$(PREFIX)/bin' && ln -sf '$(PREFIX)/$(TARGET)/lib/ocaml/flexdll/flexlink'
+	cd '$(PREFIX)/bin' && $(LN_SF) '$(PREFIX)/$(TARGET)/lib/ocaml/flexdll/flexlink'
 	(echo '#!/bin/sh'; \
 	 echo 'exec flexlink -I $(PREFIX)/$(TARGET)/lib -chain mingw -nocygpath "$$@"') \
 			> '$(PREFIX)/bin/$(TARGET)-flexlink'