-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.jam
More file actions
22 lines (14 loc) · 737 Bytes
/
plugin.jam
File metadata and controls
22 lines (14 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2018 DeviantArt Inc.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
#### plugin support
#### link shared always
import type ;
import feature ;
type.register DYNAMIC_PLUGIN : : SHARED_LIB ;
feature.feature fpic : off on : optional composite ;
feature.feature allow-static-fpic : off on : optional incidental ;
feature.feature dynamic-plugin : off on : incidental composite ;
feature.feature dynamic-plugin-dep : off on : optional propagated incidental ;
feature.compose <fpic>on : <relevant>fpic <cflags>-fPIC ;
feature.compose <dynamic-plugin>on : <link>shared <dynamic-plugin-dep>on ;