From 03cc9185c7d84bf5c1c2ebaaaf5594d549d9bad7 Mon Sep 17 00:00:00 2001 From: Mazet Laurent Date: Thu, 27 Nov 2025 18:57:49 +0100 Subject: [PATCH] fix build --- Makerule.in | 4 ++-- configure | 4 ++-- configure.ac | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makerule.in b/Makerule.in index fc0f586..5621f42 100644 --- a/Makerule.in +++ b/Makerule.in @@ -45,7 +45,7 @@ clean-local: @$(call removefile,"object file",$(addprefix $(OBJ_BUILD_DIR)/,$(OBJECTS))) @$(call removefile,"tmp file",$(TMPFILES)) -purge: purge-recursive purge-local +purge: clean purge-recursive purge-local purge-local: clean-local @$(call removefile,"config file",$(CONFIGS)) @@ -112,7 +112,7 @@ endif prog_%$(EXECEXT): %.o @echo "Creating program $@" @rm -f $@ - @$(LINK) -lfb $< -o $(BIN_BUILD_DIR)/$@ + @$(LINK) $< $(LIBS) -o $(BIN_BUILD_DIR)/$@ ifneq (${DEBUG},true) @echo "Stripping program $@" @$(STRIP) $(BIN_BUILD_DIR)/$@ diff --git a/configure b/configure index 3f1425b..f9b0690 100755 --- a/configure +++ b/configure @@ -5039,7 +5039,7 @@ fi case "$host" in - *-*-cygwin*) + *-*-cygwin*|*-*-mingw*) SHARED_LIBS=false ;; esac @@ -5073,7 +5073,7 @@ case "$host" in SH_LD=ld SH_LDFLAGS=-Bshareable ;; - *-*-cygwin*) + *-*-cygwin*|*-*-mingw*) EXECEXT=".exe" ;; *-*-linux*) diff --git a/configure.ac b/configure.ac index 2fe9cd1..73fcf59 100644 --- a/configure.ac +++ b/configure.ac @@ -174,10 +174,10 @@ AC_ARG_ENABLE(shared, SHARED_LIBS=true) AC_SUBST(SHARED_LIBS) -dnl Some check for cygwin +dnl Some check for cygwin|mingw case "$host" in - *-*-cygwin*) + *-*-cygwin*|*-*-mingw*) SHARED_LIBS=false ;; esac @@ -208,7 +208,7 @@ case "$host" in SH_LD=ld SH_LDFLAGS=-Bshareable ;; - *-*-cygwin*) + *-*-cygwin*|*-*-mingw*) EXECEXT=".exe" ;; *-*-linux*) -- 2.30.2