Fossil SCM
make sure that -ldl is added to the linker flags, in case the platform needs it (e.g. Ubuntu on AMD64 with --static)
Commit
7dda61ec4a53b5949f13a49f0f66defd67fa7c1d
Parent
8027c7e64831555…
1 file changed
+1
M
auto.def
+1
| --- auto.def | ||
| +++ auto.def | ||
| @@ -233,8 +233,9 @@ | ||
| 233 | 233 | # Check for getpassphrase() for Solaris 10 where getpass() truncates to 10 chars |
| 234 | 234 | if {![cc-check-functions getpassphrase]} { |
| 235 | 235 | # Haiku needs this |
| 236 | 236 | cc-check-function-in-lib getpass bsd |
| 237 | 237 | } |
| 238 | +cc-check-function-in-lib dlopen dl | |
| 238 | 239 | |
| 239 | 240 | make-template Makefile.in |
| 240 | 241 | make-config-header autoconfig.h -auto {USE_* FOSSIL_*} |
| 241 | 242 |
| --- auto.def | |
| +++ auto.def | |
| @@ -233,8 +233,9 @@ | |
| 233 | # Check for getpassphrase() for Solaris 10 where getpass() truncates to 10 chars |
| 234 | if {![cc-check-functions getpassphrase]} { |
| 235 | # Haiku needs this |
| 236 | cc-check-function-in-lib getpass bsd |
| 237 | } |
| 238 | |
| 239 | make-template Makefile.in |
| 240 | make-config-header autoconfig.h -auto {USE_* FOSSIL_*} |
| 241 |
| --- auto.def | |
| +++ auto.def | |
| @@ -233,8 +233,9 @@ | |
| 233 | # Check for getpassphrase() for Solaris 10 where getpass() truncates to 10 chars |
| 234 | if {![cc-check-functions getpassphrase]} { |
| 235 | # Haiku needs this |
| 236 | cc-check-function-in-lib getpass bsd |
| 237 | } |
| 238 | cc-check-function-in-lib dlopen dl |
| 239 | |
| 240 | make-template Makefile.in |
| 241 | make-config-header autoconfig.h -auto {USE_* FOSSIL_*} |
| 242 |