Fossil SCM
Fix openssl library path when specifying --with-openssl with a manual path.
Commit
2ce353f5b0b0ca14907d8e7af2e3393a5129bf03
Parent
aae3f5b6299592a…
1 file changed
+1
-1
M
auto.def
+1
-1
| --- auto.def | ||
| +++ auto.def | ||
| @@ -156,11 +156,11 @@ | ||
| 156 | 156 | set cflags "" |
| 157 | 157 | set ldflags "" |
| 158 | 158 | } else { |
| 159 | 159 | set msg "ssl in $dir" |
| 160 | 160 | set cflags "-I$dir/include" |
| 161 | - set ldflags "-L$dir/include" | |
| 161 | + set ldflags "-L$dir/lib" | |
| 162 | 162 | } |
| 163 | 163 | if {[check-for-openssl $msg "$cflags $ldflags"]} { |
| 164 | 164 | incr found |
| 165 | 165 | break |
| 166 | 166 | } |
| 167 | 167 |
| --- auto.def | |
| +++ auto.def | |
| @@ -156,11 +156,11 @@ | |
| 156 | set cflags "" |
| 157 | set ldflags "" |
| 158 | } else { |
| 159 | set msg "ssl in $dir" |
| 160 | set cflags "-I$dir/include" |
| 161 | set ldflags "-L$dir/include" |
| 162 | } |
| 163 | if {[check-for-openssl $msg "$cflags $ldflags"]} { |
| 164 | incr found |
| 165 | break |
| 166 | } |
| 167 |
| --- auto.def | |
| +++ auto.def | |
| @@ -156,11 +156,11 @@ | |
| 156 | set cflags "" |
| 157 | set ldflags "" |
| 158 | } else { |
| 159 | set msg "ssl in $dir" |
| 160 | set cflags "-I$dir/include" |
| 161 | set ldflags "-L$dir/lib" |
| 162 | } |
| 163 | if {[check-for-openssl $msg "$cflags $ldflags"]} { |
| 164 | incr found |
| 165 | break |
| 166 | } |
| 167 |