Skip to content

Commit 4dc27fe

Browse files
author
Ralph Castain
authored
Merge pull request #3460 from rhc54/topic/pmix-static
Fix pmix configury so that libpmix is still emitted when --with-devel-headers is given, even under static builds
2 parents 6d65e50 + 3bca715 commit 4dc27fe

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

opal/mca/pmix/pmix2x/pmix/src/Makefile.am

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# All rights reserved.
1212
# Copyright (c) 2006-2016 Cisco Systems, Inc. All rights reserved.
1313
# Copyright (c) 2012-2013 Los Alamos National Security, Inc. All rights reserved.
14-
# Copyright (c) 2013-2016 Intel, Inc. All rights reserved
14+
# Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
1515
# $COPYRIGHT$
1616
#
1717
# Additional copyrights may follow
@@ -49,10 +49,22 @@ libpmix_la_LIBADD = \
4949
libpmix_la_DEPENDENCIES = $(libpmix_la_LIBADD)
5050

5151
if PMIX_EMBEDDED_MODE
52+
53+
if WANT_INSTALL_HEADERS
54+
55+
# retain output of pmix library
56+
lib_LTLIBRARIES = libpmix.la
57+
libpmix_la_SOURCES = $(headers) $(sources)
58+
libpmix_la_LDFLAGS = -version-info $(libpmix_so_version)
59+
60+
else
61+
5262
noinst_LTLIBRARIES = libpmix.la
5363
libpmix_la_SOURCES = $(headers) $(sources)
5464
libpmix_la_LDFLAGS =
5565

66+
endif
67+
5668
else
5769

5870
lib_LTLIBRARIES = libpmix.la

0 commit comments

Comments
 (0)