Commit 34cc77f8 authored by jehan's avatar jehan
Browse files

add rpath to binaries to be able to find bctoolbox on macosx

parent 2c067d2f
......@@ -57,6 +57,9 @@ endif
AM_LDFLAGS=-no-undefined -export-dynamic
if BUILD_MACOSX
AM_LDFLAGS+=-Wl,-rpath -Wl,$(libdir)
endif
AM_CFLAGS=$(STRICT_OPTIONS) $(STRICT_OPTIONS_CC) $(ORTP_CFLAGS) $(CUNIT_CFLAGS)
......
......@@ -96,6 +96,8 @@ AM_CFLAGS=\
$(PCAP_CFLAGS)
AM_LDFLAGS=-export-dynamic
if BUILD_MACOSX
AM_LDFLAGS+=-Wl,-rpath -Wl,$(libdir)
endif
endif !BUILD_IOS
endif
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