File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ DLSUFFIX = .so
10
10
ifeq ($(findstring sparc,$(host_cpu)), sparc)
11
11
CFLAGS_SL = -fPIC -DPIC
12
12
else
13
- CFLAGS_SL = -fpic -DPIC
13
+ CFLAGS_SL = -fPIC -DPIC
14
14
endif
15
15
16
16
28
28
endif
29
29
30
30
sqlmansect = 7
31
+
32
+ allow_nonpic_in_shlib = yes
Original file line number Diff line number Diff line change 1
- # $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.21 2005/05/24 17:07:41 tgl Exp $
1
+ # $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.22 2005/08/12 20:57:11 momjian Exp $
2
2
3
3
subdir = src/pl/plpython
4
4
top_builddir = ../../..
@@ -9,7 +9,7 @@ include $(top_builddir)/src/Makefile.global
9
9
# shared library. Since there is no official way to determine this
10
10
# (at least not in pre-2.3 Python), we see if there is a file that is
11
11
# named like a shared library.
12
- ifneq (,$(wildcard $(python_libdir ) /libpython* $(DLSUFFIX ) * ) )
12
+ ifneq (,$(wildcard $(python_libdir ) /../../ libpython* $(DLSUFFIX ) * ) )
13
13
shared_libpython = yes
14
14
endif
15
15
You can’t perform that action at this time.
0 commit comments