Skip to content

Commit

Permalink
syslibs.m4 #88 - possible improvement from Ozik
Browse files Browse the repository at this point in the history
  • Loading branch information
j-woz committed Feb 12, 2016
1 parent dc392ad commit 003d7e5
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion dev/m4/syslibs.m4
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@

# SYSLIBS.M4

# We take system libraries out of arguments to the linker
# to prevent system libraries from pre-empting custom user
# library locations.
# Cf. https://code.google.com/p/exm-issues/issues/detail?id=546

AC_MSG_NOTICE([Generating system-libs.txt])
# We take system libraries out of arguments to the linker (#546)

AC_PATH_PROG([LDCONFIG],[ldconfig],[no],["$PATH:/sbin"])
if [[ ${LDCONFIG} == no ]]
then
AC_MSG_ERROR([Could not find ldconfig.])
fi

if [[ ${USE_MAC} == "no" ]]
then
# This does not work on the Mac
Expand Down

0 comments on commit 003d7e5

Please sign in to comment.