- Notifications
You must be signed in to change notification settings - Fork5.2k
Commite76738e
committed
oauth: Always link with -lm for floor()
libpq-oauth uses floor() but did not link against libm. Since libpqitself uses -lm, nothing in the buildfarm has had problems withlibpq-oauth yet, and it seems difficult to hit a failure in practice.But commit1443b6c attempted to add an executable based onlibpq-oauth, which ran into link-time failures with Clang due to thisomission. It seems prudent to fix this for both the module and theexecutable simultaneously so that no one trips over it in the future.This is a Makefile-only change. The Meson side already pulls in libm,through the os_deps dependency.Discussion:https://postgr.es/m/CAOYmi%2Bn6ORcmV10k%2BdAs%2Bp0b9QJ4bfpk0WuHQaF5ODXxM8Y36A%40mail.gmail.comBackpatch-through: 181 parentc6dca7c commite76738e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments
Comments
(0)