FreeCalypso > hg > osmo-playpen
changeset 1:5cbd37c9b68b
euse-demo/Makefile: black magic to find shared libs at run time
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 01 Aug 2023 17:22:11 -0800 |
parents | d87e6dbd32c2 |
children | 2067c55e2c79 |
files | euse-demo/Makefile |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/euse-demo/Makefile Tue Aug 01 17:14:37 2023 -0800 +++ b/euse-demo/Makefile Tue Aug 01 17:22:11 2023 -0800 @@ -2,7 +2,8 @@ CFLAGS= -O2 -pthread -I/opt/osmocni2/include -I/usr/include/samba-4.0 PROG= osmo-euse-demo OBJS= osmo-euse-demo.o -OSMOLIB=-L/opt/osmocni2/lib -losmo-gsup-client -losmogsm -losmocore -ltalloc +OSMOLIB=-L/opt/osmocni2/lib -Wl,-rpath,/opt/osmocni2/lib -losmo-gsup-client \ + -losmogsm -losmocore -ltalloc all: ${PROG}