- Notifications
You must be signed in to change notification settings - Fork21
Commit41e6324
committed
Using MODULES for building .so instead of MODULE_big.
This is fix of my previous commit1443ae0.PGXS supports two ways of building shared libraries: building an so for eachmodule specified in MODULES and building one big so named MODULE_big for allmodules specified in OBJS. Previously this extension used the latter, but alsospecified MODULES variable for no reason, which is pretty strange. Sinceextension contains just one module, it is sane to use the former. I have removedOBJS variable, but forgot to remove MODULE_big in my previous commit, whichbroke 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 tobuild extension without pg_config in the PATH.1 parent8158b1a commit41e6324
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
Original 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
Comments
(0)