| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-06-22 15:06:36 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-06-22 15:06:36 UTC |
| parent | f31c9f69ffb6252d1e84d9e3bf0a8b70e426a137 |
| cpp/configure.simple | +4 | -4 |
diff --git a/cpp/configure.simple b/cpp/configure.simple index 53f9d5a..34bb72c 100755 --- a/cpp/configure.simple +++ b/cpp/configure.simple @@ -2,8 +2,8 @@ # Create a Makefile just from the sources -echo 'CXXFLAGS=-Wno-invalid-offsetof -fPIC -O2 -DHX_LINUX -DHX_SMART_STRINGS=1 -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=430 -Iinclude' > Makefile -echo 'LDFLAGS=-shared -flto -lmbedtls -ldatachannel $$(pkg-config --libs sqlite3 opus libstrophe) $$(pcre2-config --libs16 --libs8)' >> Makefile +echo 'CXXFLAGS=-Wno-invalid-offsetof -fPIC -O2 -DHX_LINUX -DHX_SMART_STRINGS=1 -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=430 -Iinclude $$(pkg-config --cflags sqlite3 opus libstrophe mbedtls)' > Makefile +echo 'LDFLAGS=-shared -flto -ldatachannel $$(pkg-config --libs sqlite3 opus libstrophe mbedtls) $$(pcre2-config --libs16 --libs8)' >> Makefile echo >> Makefile echo ".PHONY: clean" >> Makefile @@ -11,13 +11,13 @@ echo >> Makefile printf "libborogove.so: " >> Makefile find src -name '*.cpp' -print0 | xargs -0 | sed -e's/\.cpp/\.o/g' >> Makefile -echo ' $(CXX) -o $@ $^ $(LDFLAGS)' >> Makefile +echo ' $(CXX) -o $@ $^ $> $(LDFLAGS)' >> Makefile echo >> Makefile printf "libborogove.a: " >> Makefile find src -name '*.cpp' -print0 | xargs -0 | sed -e's/\.cpp/\.o/g' >> Makefile -echo ' $(AR) rcs $@ $^' >> Makefile +echo ' $(AR) rcs $@ $^ $>' >> Makefile echo "clean:" >> Makefile echo ' find -name *.o -delete' >> Makefile