]> Dogcows Code - chaz/openbox/blobdiff - build/Makefile.obcl
buld fixes for the new libs
[chaz/openbox] / build / Makefile.obcl
index c602c686abbc30d1669282dc329844d195363c1c..5e40384e3122e95c91cb8aaff1b3341a8594f3a8 100644 (file)
@@ -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))
This page took 0.022329 seconds and 4 git commands to generate.