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)

jan.nijtmans 2013-01-30 21:39 trunk
Commit 7dda61ec4a53b5949f13a49f0f66defd67fa7c1d
1 file changed +1
+1
--- auto.def
+++ auto.def
@@ -233,8 +233,9 @@
233233
# Check for getpassphrase() for Solaris 10 where getpass() truncates to 10 chars
234234
if {![cc-check-functions getpassphrase]} {
235235
# Haiku needs this
236236
cc-check-function-in-lib getpass bsd
237237
}
238
+cc-check-function-in-lib dlopen dl
238239
239240
make-template Makefile.in
240241
make-config-header autoconfig.h -auto {USE_* FOSSIL_*}
241242
--- 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

Keyboard Shortcuts

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