Fossil

Check-in [efbc319c]
Login

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

Overview
Comment:Make sure -ldl is appended after -lcrypto; Fixes link errors with static build.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:efbc319c32a38fab4df9bcce655bca77123ff7ea8ead6d52e006f1bf84c067ba
User & Date: ashepilko 2018-07-12 06:46:37
Context
2018-07-12
13:15
Get the smtp_mx_host() routine working on Windows in addition to Linux. check-in: 9a6c6c2c user: drh tags: trunk
09:39
Get DNS lookup for mail hosts working on Windows. check-in: fe29fe7d user: tsbg tags: smtp-win
06:46
Make sure -ldl is appended after -lcrypto; Fixes link errors with static build. check-in: efbc319c user: ashepilko tags: trunk
2018-07-11
20:37
Rename the /msgtoadmin page to /contact_admin. Improvements to the setup pages for notifications. check-in: 9830d7cb user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to auto.def.

493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511






512
513
514
}

# Check for getpassphrase() for Solaris 10 where getpass() truncates to 10 chars
if {![cc-check-functions getpassphrase]} {
    # Haiku needs this
    cc-check-function-in-lib getpass bsd
}
cc-check-function-in-lib dlopen dl
cc-check-function-in-lib sin m

# Check for the FuseFS library
if {[opt-bool fusefs]} {
  if {[cc-check-function-in-lib fuse_mount fuse]} {
     define-append EXTRA_CFLAGS -DFOSSIL_HAVE_FUSEFS
     define FOSSIL_HAVE_FUSEFS 1
     define-append LIBS -lfuse
     msg-result "FuseFS support enabled"
  }
}







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







<











>
>
>
>
>
>



493
494
495
496
497
498
499

500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
}

# Check for getpassphrase() for Solaris 10 where getpass() truncates to 10 chars
if {![cc-check-functions getpassphrase]} {
    # Haiku needs this
    cc-check-function-in-lib getpass bsd
}

cc-check-function-in-lib sin m

# Check for the FuseFS library
if {[opt-bool fusefs]} {
  if {[cc-check-function-in-lib fuse_mount fuse]} {
     define-append EXTRA_CFLAGS -DFOSSIL_HAVE_FUSEFS
     define FOSSIL_HAVE_FUSEFS 1
     define-append LIBS -lfuse
     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_*}