summaryrefslogtreecommitdiff
path: root/buildlib/library.mak
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:50:54 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:50:54 +0000
commit880e9be46811db19b9346f30ba0ea22f63db59c4 (patch)
treec1d76cb3617cf425a2cc9eac86b224e1e1312115 /buildlib/library.mak
parent6f4f200a22304be5352872d6e511f178434ce335 (diff)
Brought in the GUI
Author: jgg Date: 1998-07-26 23:11:52 GMT Brought in the GUI
Diffstat (limited to 'buildlib/library.mak')
-rw-r--r--buildlib/library.mak4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildlib/library.mak b/buildlib/library.mak
index 1b814875f..4ac3760dc 100644
--- a/buildlib/library.mak
+++ b/buildlib/library.mak
@@ -20,6 +20,7 @@ $(LOCAL)-OBJS := $(addprefix $(OBJ)/,$(addsuffix .opic,$(notdir $(basename $(SOU
$(LOCAL)-DEP := $(addprefix $(DEP)/,$(addsuffix .d,$(notdir $(basename $(SOURCE)))))
$(LOCAL)-HEADERS := $(addprefix $(INCLUDE)/,$(HEADERS))
$(LOCAL)-SONAME := lib$(LIBRARY).so.$(MAJOR)
+$(LOCAL)-SLIBS := $(SLIBS)
# Install the command hooks
headers: $($(LOCAL)-HEADERS)
@@ -45,7 +46,8 @@ $(LIB)/lib$(LIBRARY).so: $(LIB)/lib$(LIBRARY).so.$(MAJOR).$(MINOR)
$(LIB)/lib$(LIBRARY).so.$(MAJOR).$(MINOR): $($(LOCAL)-HEADERS) $($(LOCAL)-OBJS)
echo Building shared library $@
$(CXX) $(CXXFLAGS) $(LDFLAGS) $(PICFLAGS) $(LFLAGS) -o $@ \
- -Wl,-soname -Wl,$($(@F)-SONAME) -shared $(filter %.opic,$^)
+ -Wl,-soname -Wl,$($(@F)-SONAME) -shared $(filter %.opic,$^) \
+ $($(@F)-SLIBS)
# Compilation rules
vpath %.cc $(SUBDIRS)