-
Notifications
You must be signed in to change notification settings - Fork 21
Commit 41e6324
Using MODULES for building .so instead of MODULE_big.
This is fix of my previous commit 1443ae0.
PGXS supports two ways of building shared libraries: building an so for each
module specified in MODULES and building one big so named MODULE_big for all
modules specified in OBJS. Previously this extension used the latter, but also
specified MODULES variable for no reason, which is pretty strange. Since
extension contains just one module, it is sane to use the former. I have removed
OBJS variable, but forgot to remove MODULE_big in my previous commit, which
broke the build, since an empty so was assembled. This commit fixes the issue.
Besides, PG_CONFIG var is now consulted for path to pg_config, which allows to
build extension without pg_config in the PATH.1 parent 8158b1a commit 41e6324
1 file changed
+4
-3
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 | - | ||
5 | 4 |
| |
6 | 5 |
| |
7 | - | ||
8 | 6 |
| |
9 | 7 |
| |
10 | 8 |
| |
11 | - | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
12 | 13 |
|
0 commit comments