Skip to content
Snippets Groups Projects
Commit 12eb3b68 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

MNT: Shared lib dependencies must be specified when compiling a shared lib on macOS

parent 86e78943
No related branches found
No related tags found
1 merge request!8Mnt/conda
Pipeline #6501 canceled
......@@ -4,6 +4,7 @@ include ${FSLCONFDIR}/default.mk
PROJNAME = miscmaths
SOFILES = libfsl-miscmaths.so
LIBS = -lfsl-utils -lfsl-cprob
OBJS = miscmaths.o optimise.o miscprob.o kernel.o histogram.o \
base2z.o t2z.o f2z.o minimize.o cspline.o sparse_matrix.o \
sparsefn.o rungekutta.o nonlin.o bfmatrix.o Simplex.o \
......@@ -12,4 +13,4 @@ OBJS = miscmaths.o optimise.o miscprob.o kernel.o histogram.o \
all: libfsl-miscmaths.so
libfsl-miscmaths.so: ${OBJS}
$(CXX) $(CXXFLAGS) -shared -o $@ $^
$(CXX) $(CXXFLAGS) -shared -o $@ $^ ${LDFLAGS}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment