linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / libamqpcpp / libamqpcpp-darwin.patch
blob9f8d700929b415e78d1fefd347bd18c633632f46
1 --- a/src/Makefile
2 +++ b/src/Makefile
3 @@ -0,0 +1 @@
4 +CXX ?= g++
5 @@ -43 +44 @@ ${SHARED_LIB}: ${SHARED_OBJECTS}
6 - ${LD} ${LD_FLAGS} -Wl,${SONAMEPARAMETER},lib$(LIBRARY_NAME).so.$(SONAME) -o $@ ${SHARED_OBJECTS}
7 + ${CXX} ${LD_FLAGS} -Wl,${SONAMEPARAMETER},lib$(LIBRARY_NAME).so.$(SONAME) -o $@ ${SHARED_OBJECTS}
8 @@ -52 +53 @@ ${SHARED_OBJECTS}:
9 - ${CPP} ${CPPFLAGS} -fpic -o $@ ${@:%.o=%.cpp}
10 + ${CXX} ${CPPFLAGS} -fpic -o $@ ${@:%.o=%.cpp}
11 @@ -55 +56 @@ ${STATIC_OBJECTS}:
12 - ${CPP} ${CPPFLAGS} -o $@ ${@:%.s.o=%.cpp}
13 + ${CXX} ${CPPFLAGS} -o $@ ${@:%.s.o=%.cpp}