aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/package.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index e7cf98edd8..774bd794af 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -272,6 +272,11 @@ fi
python package_do_shlibs() {
import os, re, os.path
+ exclude_shlibs = bb.data.getVar('EXCLUDE_FROM_SHLIBS', d, 0)
+ if exclude_shlibs:
+ bb.note("not generating shlibs")
+ return
+
lib_re = re.compile("^lib.*\.so")
libdir_re = re.compile(".*/lib$")