Magellan Linux

Contents of /trunk/acl/patches/acl-2.2.47-only-symlink-when-needed.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 949 - (show annotations) (download)
Tue Dec 22 22:35:23 2009 UTC (14 years, 5 months ago) by niro
File size: 836 byte(s)
-added acl patches

1 We dont want to generate symlinks when the libdir is the same as the
2 devlibdir, otherwise we clobber the real files with broken symlinks
3
4 --- include/buildmacros
5 +++ include/buildmacros
6 @@ -102,9 +102,11 @@
7 ../$(INSTALL) -m 644 $(LIBNAME).lai $(PKG_DEVLIB_DIR)/$(LIBNAME).la ; \
8 ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
9 ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \
10 + if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \
11 ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \
12 ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \
13 - ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so
14 + ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \
15 + fi
16 else
17 INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC)
18 endif