summaryrefslogtreecommitdiff
path: root/contrib/uuid-ossp
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-11-13 00:13:19 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-11-13 00:13:19 +0000
commit1ef648cfbc75041eddce48ef2e9eb004b7906efd (patch)
tree0d6e694635ca0aa0ef0b3b4523eacef7c9a2e736 /contrib/uuid-ossp
parent2ce1a60bfa82b44c5ae5e65aedac391c54e8bf8e (diff)
downloadpostgresql-1ef648cfbc75041eddce48ef2e9eb004b7906efd.tar.gz
I find that an out-of-the-box installation of OSSP uuid 1.6.0 installs
itself as libuuid, not libossp-uuid which was the only case expected by our build support. Install a configure test to determine which name to use (and to check that the library is present at all).
Diffstat (limited to 'contrib/uuid-ossp')
-rw-r--r--contrib/uuid-ossp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/uuid-ossp/Makefile b/contrib/uuid-ossp/Makefile
index 68db64c2de..4ed83537dd 100644
--- a/contrib/uuid-ossp/Makefile
+++ b/contrib/uuid-ossp/Makefile
@@ -1,11 +1,11 @@
-# $PostgreSQL: pgsql/contrib/uuid-ossp/Makefile,v 1.3 2007/11/10 23:59:51 momjian Exp $
+# $PostgreSQL: pgsql/contrib/uuid-ossp/Makefile,v 1.4 2007/11/13 00:13:19 tgl Exp $
MODULE_big = uuid-ossp
OBJS = uuid-ossp.o
DATA_built = uuid-ossp.sql
DATA = uninstall_uuid-ossp.sql
-SHLIB_LINK += -lossp-uuid
+SHLIB_LINK += $(OSSP_UUID_LIBS)
ifdef USE_PGXS
PG_CONFIG = pg_config