libmarkdown2: fix cross-compile
This commit is contained in:
parent
d4ac545030
commit
f2b92346c6
|
@ -0,0 +1,11 @@
|
|||
--- a/configure.inc
|
||||
+++ b/configure.inc
|
||||
@@ -1770,7 +1770,7 @@
|
||||
}
|
||||
EOF
|
||||
|
||||
- if $AC_CC -o config.sed ngc$$.c; then
|
||||
+ if $BUILD_CC -o config.sed ngc$$.c; then
|
||||
rm -f ngc$$.c
|
||||
__config_files="$__config_files config.sed"
|
||||
else
|
|
@ -0,0 +1,13 @@
|
|||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -95,8 +95,8 @@
|
||||
blocktags: mktags
|
||||
./mktags > blocktags
|
||||
|
||||
-mktags: mktags.o
|
||||
- $(LINK) -o mktags mktags.o
|
||||
+mktags: mktags.c
|
||||
+ $(BUILD_CC) -o mktags mktags.c
|
||||
|
||||
# example programs
|
||||
@THEME@theme: theme.o $(COMMON) $(MKDLIB) mkdio.h
|
Loading…
Reference in New Issue