Commit d0729e4c authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

introduce automake conditional USE_BINRELOC.

2006-02-19  Manish Singh  <yosh@gimp.org>

        * m4macros/binreloc.m4: introduce automake conditional USE_BINRELOC.

        * app/Makefile.am: ... and use the above here, so that -rpath is only
        specified when binreloc functionality is enabled. Fixes bug #331677.
parent 1b01b295
2006-02-19 Manish Singh <yosh@gimp.org>
* m4macros/binreloc.m4: introduce automake conditional USE_BINRELOC.
* app/Makefile.am: ... and use the above here, so that -rpath is only
specified when binreloc functionality is enabled. Fixes bug #331677.
2006-02-19 Sven Neumann <sven@gimp.org> 2006-02-19 Sven Neumann <sven@gimp.org>
* plug-ins/common/gif.c (save_image): removed warning when reusing * plug-ins/common/gif.c (save_image): removed warning when reusing
......
...@@ -71,7 +71,7 @@ endif ...@@ -71,7 +71,7 @@ endif
if OS_WIN32 if OS_WIN32
mwindows = -mwindows mwindows = -mwindows
endif endif
if OS_UNIX if USE_BINRELOC
munix = -Wl,-rpath '-Wl,$$ORIGIN/../lib' munix = -Wl,-rpath '-Wl,$$ORIGIN/../lib'
endif endif
......
...@@ -71,4 +71,5 @@ AC_DEFUN([AM_BINRELOC], ...@@ -71,4 +71,5 @@ AC_DEFUN([AM_BINRELOC],
fi fi
AC_SUBST(BINRELOC_CFLAGS) AC_SUBST(BINRELOC_CFLAGS)
AC_SUBST(BINRELOC_LIBS) AC_SUBST(BINRELOC_LIBS)
AM_CONDITIONAL(USE_BINRELOC, test x$br_cv_binreloc = xyes)
]) ])
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