Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
05b53b1b
Kaydet (Commit)
05b53b1b
authored
Kas 30, 2011
tarafından
Lionel Elie Mamane
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
postgresql-sdbc: review build rules
üst
5510127e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
configure.in
configure.in
+5
-5
makefile.mk
connectivity/source/drivers/postgresql/makefile.mk
+5
-4
No files found.
configure.in
Dosyayı görüntüle @
05b53b1b
...
...
@@ -5400,7 +5400,7 @@ dnl ===================================================================
dnl Check for PostgreSQL stuff
dnl ===================================================================
if test "x$enable_ext_postgresql_sdbc" = "xyes"; then
if test "x$enable_ext_postgresql_sdbc" = "xyes"
-a "x$enable_extension_integration" != "xno"
; then
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_POSTGRESQL"
AC_MSG_CHECKING([for PostgreSQL prerequisites])
...
...
@@ -5412,12 +5412,12 @@ if test "x$enable_ext_postgresql_sdbc" = "xyes"; then
AC_MSG_ERROR([pg_config needed; set PGCONFIG if not in PATH])
fi
POSTGRESQL_INC=-I$(pg_config --includedir)
POSTGRESQL_LIB="-L$(pg_config --libdir)
-lpq
"
POSTGRESQL_LIB="-L$(pg_config --libdir)"
else
SYSTEM_POSTGRESQL=NO
if test -n "$with_libpq_path"; then
AC_MSG_RESULT([external libpq])
POSTGRESQL_LIB="-L${with_libpq_path}/lib/
-lpq
"
POSTGRESQL_LIB="-L${with_libpq_path}/lib/"
POSTGRESQL_INC=-I"${with_libpq_path}/include/"
else
AC_MSG_ERROR([not given. Please specify either --with-system-postgresql or --with-libpq-path])
...
...
@@ -5427,8 +5427,8 @@ if test "x$enable_ext_postgresql_sdbc" = "xyes"; then
save_CFLAGS=$CFLAGS
save_CPPFLAGS=$CPPFLAGS
save_LIBS=$LIBS
CPPFLAGS="${POSTGRESQL_INC}"
LIBS="${POSTGRESQL_LIB}"
CPPFLAGS="${
CPPFLAGS} ${
POSTGRESQL_INC}"
LIBS="${
LIBS} ${
POSTGRESQL_LIB}"
AC_CHECK_HEADER([libpq-fe.h], [], [AC_MSG_ERROR([libpq-fe.h is needed])], [])
AC_CHECK_LIB(pq, PQconnectdbParams, [],
[AC_MSG_ERROR(libpq not found or too old. Need >= 9.0)], [])
...
...
connectivity/source/drivers/postgresql/makefile.mk
Dosyayı görüntüle @
05b53b1b
...
...
@@ -97,14 +97,14 @@ SHL1DEF= $(MISC)$/$(SHL1TARGET).def
DEF1NAME
=
$(SHL1TARGET)
SHL1VERSIONMAP
=
$(SOLARENV)$/
src
$/
reg-component.map
# use the static version
# use the static version
on Windows?
# LEM 17/11/2011: removed everything except libpq proper;
# as per instructions in libpq documentation.
# If it turns out the rest was needed, reenable it.
.IF
"$(GUI)"
==
"WNT"
POSTGRESQL_LIB
=
libpq.lib
#wsock32.lib advapi32.lib
LIBPQ_LINK
=
libpq.lib
#wsock32.lib advapi32.lib
.ELSE
POSTGRESQL_LIB
=
-lpq
#-lcrypt
LIBPQ_LINK
=
-lpq
#-lcrypt
.ENDIF
SHL2TARGET
=
postgresql-sdbc-impl.uno
LIB2TARGET
=
$(SLB)$/$(SHL2TARGET)
.lib
...
...
@@ -148,7 +148,8 @@ SHL2STDLIBS= \
$(CPPUHELPERLIB)
\
$(SALLIB)
\
$(SALHELPERLIB)
\
$(POSTGRESQL_LIB)
$(POSTGRESQL_LIB)
\
$(LIBPQ_LINK)
SHL2LIBS
=
$(LIB2TARGET)
SHL2DEF
=
$(MISC)$/$(SHL2TARGET)
.def
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment