Commit a86e787d by devttys0

Added patches from issue #49

parent 3c274657
......@@ -18,16 +18,15 @@ AC_ARG_ENABLE([clibs],
[BUILD_C_LIBS=1])
CFLAGS="-Wall -fPIC $CFLAGS"
INSTALL_OPTIONS="-m644"
if test "$(uname)" == "Darwin"
then
SONAME="-install_name"
SOEXT="dylib"
INSTALL_OPTIONS="-m644"
else
SONAME="-soname"
SOEXT="so"
INSTALL_OPTIONS="-D -m644"
fi
dnl AS_IF([test "x$enable_foo" != "xno"], [
......
......@@ -10,6 +10,7 @@ compress42.o:
$(CC) $(CFLAGS) compress42.c -c
install:
mkdir -p $(DESTDIR)$(LIBDIR)
install $(INSTALL_OPTIONS) $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
uninstall:
......
......@@ -10,6 +10,7 @@ tinfl.o:
$(CC) $(CFLAGS) -c tinfl.c
install:
mkdir -p $(DESTDIR)$(LIBDIR)
install $(INSTALL_OPTIONS) $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
uninstall:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment