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.
Commit
07673a1368b5977295e9bb6421fbb696db697d8b237a85c048e0c14b99ebce9e
Parent
9f8bf6918570c5b…
1 file changed
-1
M
auto.def
-1
| --- auto.def | ||
| +++ auto.def | ||
| @@ -764,11 +764,10 @@ | ||
| 764 | 764 | if {[opt-bool static]} { |
| 765 | 765 | msg-result "FuseFS support disabled due to -static" |
| 766 | 766 | } elseif {[cc-check-function-in-lib fuse_mount fuse]} { |
| 767 | 767 | define-append EXTRA_CFLAGS -DFOSSIL_HAVE_FUSEFS |
| 768 | 768 | define FOSSIL_HAVE_FUSEFS 1 |
| 769 | - define-append LIBS -lfuse | |
| 770 | 769 | msg-result "FuseFS support enabled" |
| 771 | 770 | } |
| 772 | 771 | } |
| 773 | 772 | |
| 774 | 773 | ######################################################################## |
| 775 | 774 |
| --- 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 |