Skip to content

Commit 7594b95

Browse files
author
Ralph Castain
committed
Ensure the hwloc external header is include when --with-devel-headers is given
1 parent b110f76 commit 7594b95

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

opal/mca/hwloc/external/Makefile.am

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#
22
# Copyright (c) 2011-2012 Cisco Systems, Inc. All rights reserved.
3+
# Copyright (c) 2016 Intel, Inc. All rights reserved.
34
# $COPYRIGHT$
45
#
56
# Additional copyrights may follow
@@ -14,10 +15,17 @@
1415
# We only ever build this component statically
1516

1617
noinst_LTLIBRARIES = libmca_hwloc_external.la
18+
1719
libmca_hwloc_external_la_SOURCES = \
1820
external.h \
1921
hwloc_external_component.c
2022
libmca_hwloc_external_la_LDFLAGS = \
2123
-module -avoid-version \
2224
$(opal_hwloc_external_LDFLAGS)
2325
libmca_hwloc_external_la_LIBADD = $(hwloc_external_LIBS) -lhwloc
26+
27+
# Conditionally install the header files
28+
if WANT_INSTALL_HEADERS
29+
opaldir = $(opalincludedir)/$(subdir)
30+
nobase_opal_HEADERS = external.h
31+
endif

0 commit comments

Comments
 (0)