aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorseebs <seebs@seebs-eee.(none)>2010-08-12 12:37:31 -0500
committerseebs <seebs@seebs-eee.(none)>2010-08-12 12:37:31 -0500
commita05e23b738edfd2304863605cce84a7eb64b00df (patch)
tree3378c7fa6e43e281154fe1cd2ef98ad6b1d9e5eb
parentbd1378294acbaf8ea5dfc4dfd3c00aabbb0f9121 (diff)
downloadpseudo-a05e23b738edfd2304863605cce84a7eb64b00df.tar.gz
pseudo-a05e23b738edfd2304863605cce84a7eb64b00df.tar.bz2
pseudo-a05e23b738edfd2304863605cce84a7eb64b00df.zip
Fix for libpseudo.so when using $(SUFFIX), correct a note in guts/README.
-rw-r--r--ChangeLog.txt5
-rw-r--r--Makefile.in3
-rw-r--r--guts/README4
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index f8a3caa..d373ced 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,8 @@
+2010-08-12:
+ * (seebs) Fix install of libpseudo so the plain library is created
+ when using $(SUFFIX), this is needed so pseudo daemons don't
+ need to know $(SUFFIX) so you can use prebuilts.
+
2010-08-11:
* (seebs) document the new variables.
diff --git a/Makefile.in b/Makefile.in
index b9163b3..7524f29 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -53,7 +53,7 @@ WRAPOBJS=pseudo_wrappers.o
PSEUDO=$(BIN)/pseudo
PSEUDODB=$(BIN)/pseudodb
PSEUDOLOG=$(BIN)/pseudolog
-LIBPSEUDO=$(LIB)/libpseudo$(SUFFIX).so
+LIBPSEUDO=$(LIB)/libpseudo.so
all: $(LIBPSEUDO) $(PSEUDO) $(PSEUDODB) $(PSEUDOLOG)
@@ -64,6 +64,7 @@ test: all $(BIN) $(LIB) $(LOCALSTATE)
install-lib: $(LIBPSEUDO)
mkdir -p $(DESTDIR)$(LIBDIR)
cp $(LIBPSEUDO) $(DESTDIR)$(LIBDIR)
+ $(if $(SUFFIX),cp $(LIBPSEUDO) $(DESTDIR)$(LIBDIR)/libpseudo$(SUFFIX).so,:)
install-bin: $(PSEUDO) $(PSEUDODB) $(PSEUDOLOG)
mkdir -p $(DESTDIR)$(BINDIR)
diff --git a/guts/README b/guts/README
index b97595f..02afa8c 100644
--- a/guts/README
+++ b/guts/README
@@ -83,8 +83,10 @@ wrappers:
close
dup
dup2
+ excl* (all redirect through execve)
+ execv
execve
- exec* (various other exec functions, most direct through execve)
+ execvp
fclose
fopen
fopen64