summaryrefslogtreecommitdiff
path: root/source4/lib/events/events.mk
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-09-19 15:20:47 -0400
committerSimo Sorce <idra@samba.org>2008-09-19 18:08:12 -0400
commit474de0f2172ebe55e6cafb4ad7e81fe662eacadc (patch)
treec4012ed880a543e7e21ae53c36b6028b24878d46 /source4/lib/events/events.mk
parent3235e25425dddb9ba6d0f8d7cfff94ea9d7c5bdd (diff)
downloadsamba-474de0f2172ebe55e6cafb4ad7e81fe662eacadc.tar.gz
samba-474de0f2172ebe55e6cafb4ad7e81fe662eacadc.tar.bz2
samba-474de0f2172ebe55e6cafb4ad7e81fe662eacadc.zip
Fix libevents standalone build
Make sure to build against libtalloc.a and not individual talloc objects, so that the library can be also built against libtalloc.so and use it as a shared library instead of statically compiling talloc. Also add shared-build target to the events library. Useful to build multiple standalone libraries that depend on each other without having to install them to the final install dir during the build.
Diffstat (limited to 'source4/lib/events/events.mk')
-rw-r--r--source4/lib/events/events.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/events/events.mk b/source4/lib/events/events.mk
index f4b02eae83..2bc6221689 100644
--- a/source4/lib/events/events.mk
+++ b/source4/lib/events/events.mk
@@ -5,7 +5,7 @@ EVENTS_SOLIB = libevents.$(SHLIBEXT).$(PACKAGE_VERSION)
libevents.a: $(EVENTS_OBJ)
ar -rv libevents.a $(EVENTS_OBJ)
-libevents.$(SHLIBEXT): $(LIBEVENTS_SOLIB)
+libevents.$(SHLIBEXT): $(EVENTS_SOLIB)
ln -fs $< $@
$(EVENTS_SONAME): $(EVENTS_SOLIB)
@@ -24,7 +24,7 @@ installheaders:: installdirs
installlibs:: installdirs
cp events.pc $(DESTDIR)$(libdir)/pkgconfig
- cp libevents.a $(LIBEVENTS_SOLIB) $(DESTDIR)$(libdir)
+ cp libevents.a $(EVENTS_SOLIB) $(DESTDIR)$(libdir)
install:: all installdirs installheaders installlibs $(PYTHON_INSTALL_TARGET)