diff --git a/Makefile.am b/Makefile.am index 4d10d7e52d..e1a5af9de7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -97,7 +97,7 @@ bin_PROGRAMS = freeswitch freeswitch_SOURCES = src/switch.c nodist_freeswitch_SOURCES = src/include/switch_version.h freeswitch_CFLAGS = $(AM_CFLAGS) -freeswitch_LDFLAGS = $(AM_LDFLAGS) +freeswitch_LDFLAGS = $(AM_LDFLAGS) -rpath $(libdir) freeswitch_LDADD = libfreeswitch.la libs/apr/libapr-1.la $(libfreeswitch_la_SOURCES): $(CORE_LIBS) $(switch_builddir)/quiet_libtool