Fossil SCM

Removed redundant LIBS=-lfuse, causing duplicate library warning in the case where autosetup determines it's needed. Calling cc-check-function-in-lib already appends the library to LIBS if needed.

wyoung 2024-09-03 17:06 trunk
Commit 07673a1368b5977295e9bb6421fbb696db697d8b237a85c048e0c14b99ebce9e
1 file changed -1
-1
--- auto.def
+++ auto.def
@@ -764,11 +764,10 @@
764764
if {[opt-bool static]} {
765765
msg-result "FuseFS support disabled due to -static"
766766
} elseif {[cc-check-function-in-lib fuse_mount fuse]} {
767767
define-append EXTRA_CFLAGS -DFOSSIL_HAVE_FUSEFS
768768
define FOSSIL_HAVE_FUSEFS 1
769
- define-append LIBS -lfuse
770769
msg-result "FuseFS support enabled"
771770
}
772771
}
773772
774773
########################################################################
775774
--- auto.def
+++ auto.def
@@ -764,11 +764,10 @@
764 if {[opt-bool static]} {
765 msg-result "FuseFS support disabled due to -static"
766 } elseif {[cc-check-function-in-lib fuse_mount fuse]} {
767 define-append EXTRA_CFLAGS -DFOSSIL_HAVE_FUSEFS
768 define FOSSIL_HAVE_FUSEFS 1
769 define-append LIBS -lfuse
770 msg-result "FuseFS support enabled"
771 }
772 }
773
774 ########################################################################
775
--- auto.def
+++ auto.def
@@ -764,11 +764,10 @@
764 if {[opt-bool static]} {
765 msg-result "FuseFS support disabled due to -static"
766 } elseif {[cc-check-function-in-lib fuse_mount fuse]} {
767 define-append EXTRA_CFLAGS -DFOSSIL_HAVE_FUSEFS
768 define FOSSIL_HAVE_FUSEFS 1
 
769 msg-result "FuseFS support enabled"
770 }
771 }
772
773 ########################################################################
774

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button