summaryrefslogtreecommitdiff
blob: 09d378485ea45197ee0c74ecb5a5c27abcadce98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: advi-1.7.3/src/Makefile.am
===================================================================
--- advi-1.7.3.orig/src/Makefile.am
+++ advi-1.7.3/src/Makefile.am
@@ -84,13 +84,13 @@ OCAMLLIBS_BYT	= $(CAMLIMAGES_LIBS_BYTE) 
 
 advi$(EXEEXT): $(COBJS) $(OCAMLOPTOBJS)
 	$(OCAMLOPT) -o advi$(EXEEXT) \
-		$(OCAMLCFLAGS) $(AM_OCAMLCFLAGS) $(AM_LINKFLAGS) \
-		$(COBJS) $(OCAMLLIBS_OPT) $(OCAMLOPTOBJS)
+		$(OCAMLCFLAGS) $(AM_OCAMLCFLAGS) \
+		$(COBJS) $(OCAMLLIBS_OPT) $(OCAMLOPTOBJS) $(AM_LINKFLAGS)
 
 advi.byt$(EXEEXT): $(COBJS) $(OCAMLBYTOBJS)
 	$(OCAMLC) -o advi.byt$(EXEEXT) \
-		$(OCAMLCFLAGS) $(AM_OCAMLCFLAGS) $(AM_LINKFLAGS) -custom \
-		$(COBJS) $(OCAMLLIBS_BYT) $(OCAMLBYTOBJS)
+		$(OCAMLCFLAGS) $(AM_OCAMLCFLAGS) -custom \
+		$(COBJS) $(OCAMLLIBS_BYT) $(OCAMLBYTOBJS) $(AM_LINKFLAGS)
 
 install_hook: $(INSTALLEXEC) installdata
 	- texhash