X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=build%2FMakefile.obcl;h=5e40384e3122e95c91cb8aaff1b3341a8594f3a8;hb=787cbcf656890fae77fd3e6bef8e2d0cfc669ee8;hp=c602c686abbc30d1669282dc329844d195363c1c;hpb=d0e9015651aa960cf8cb58a5ab08da79e6aeb51b;p=chaz%2Fopenbox diff --git a/build/Makefile.obcl b/build/Makefile.obcl index c602c686..5e40384e 100644 --- a/build/Makefile.obcl +++ b/build/Makefile.obcl @@ -17,7 +17,7 @@ depdir := $(depdir)/$(dir) all: $(target) $(target): $(objects) - $(LINK) -o $@ $^ $(LDFLAGS) + $(LINK) -rpath $(libdir) -o $@ $^ $(LDFLAGS) $(dir)/%.lo: $(srcdir)/%.c $(depdir)/%.d $(LTCOMPILE) -c -o $@ $< @@ -31,6 +31,7 @@ install: $(INSTALL) -d $(DESTDIR)$(libdir)/ $(LIBTOOL) --mode=install $(INSTALL) $(target) \ $(DESTDIR)$(libdir)/$(notdir $(target)) + $(LIBTOOL) --mode=finish $(DESTDIR)$(libdir) uninstall: $(LTRM) $(DESTDIR)$(libdir)/$(notdir $(target))