Alien-libnewrelic
view release on metacpan or search on metacpan
patch/macos.diff view on Meta::CPAN
-dynamic: libnewrelic.so
+dynamic: libnewrelic.dylib
.PHONY: valgrind
valgrind: vendor libnewrelic.a
@@ -113,8 +113,8 @@ valgrind: vendor libnewrelic.a
# We build the shared library at the top level, since it's easiest to just take
# the static library and have gcc wrap it in the appropriate shared library
# goop.
-libnewrelic.so: libnewrelic.a
- $(CC) -shared -pthread -o $@ -Wl,--whole-archive $^ -Wl,--no-whole-archive $(PCRE_LIBS) -ldl
+libnewrelic.dylib: libnewrelic.a
+ $(CC) -shared -pthread -o $@ -Wl,-all_load $^ $(PCRE_LIBS) -ldl
.PHONY: src-static
src-static:
@@ -131,10 +131,10 @@ tests-clean:
.PHONY: clean
clean: axiom-clean daemon-clean src-clean tests-clean
- rm -f *.o libnewrelic.a libnewrelic.so
+ rm -f *.o libnewrelic.a libnewrelic.dylib
( run in 0.531 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )