Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Append -ldl only when needed on the target platform; OpenBSD resolves it from the standard libc.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:7cdb522b42aad6a16207d884d5331cd754d1978dc7b2300934e492e1f07dd53d
User & Date: ashepilko 2018-07-13 10:04:45
Context
2018-07-13
15:07
Use the email content parser to the prototype webmail page. check-in: 264223fc user: drh tags: trunk
10:04
Append -ldl only when needed on the target platform; OpenBSD resolves it from the standard libc. check-in: 7cdb522b user: ashepilko tags: trunk
05:46
An alternative to removing FOSSIL_ENABLE_LEGACY_MV_RM that just makes it the default. check-in: 9951fd7b user: mistachkin tags: trunk
Changes

Changes to auto.def.

508
509
510
511
512
513
514


515
516
517
518
519
     msg-result "FuseFS support enabled"
  }
}

# Finally, append -ldl to make sure it's the last in the list.
# The library order matters in case of static linking.
if {[check-function-in-lib dlopen dl]} {


  define-append LIBS -ldl
}

make-template Makefile.in
make-config-header autoconfig.h -auto {USE_* FOSSIL_*}







>
>
|




508
509
510
511
512
513
514
515
516
517
518
519
520
521
     msg-result "FuseFS support enabled"
  }
}

# Finally, append -ldl to make sure it's the last in the list.
# The library order matters in case of static linking.
if {[check-function-in-lib dlopen dl]} {
    # Some platforms (*BSD) have the dl functions already in libc and no libdl.
    # In such case we can link directly without -ldl.
    define-append LIBS [get-define lib_dlopen]
}

make-template Makefile.in
make-config-header autoconfig.h -auto {USE_* FOSSIL_*}