From: 諏訪子 Date: Sat, 25 May 2024 16:59:40 +0000 (+0900) Subject: NetBSDで靜的リンクを可能に X-Git-Tag: mivfx-0.6.0~1 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=16a4156ebab3c509b1e9a3523e02696926c5d58d;p=mivfx.git NetBSDで靜的リンクを可能に --- diff --git a/Makefile b/Makefile index 2e2c12c..4ea8d41 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ dist: release-openbsd: mkdir -p release/bin ${CC} ${CFLAGS} -o release/bin/${NAME}-${VERSION}-openbsd-${UNAME_M} ${FILES}\ - -static ${LDFLAGS} -lc -lm -liconv -lsndio -lsamplerate -lX11\ + ${LDFLAGS} -static ${LIBS} -lc -lm -liconv -lsndio -lsamplerate -lX11\ -lxcb -lXext -lXcursor -lXrender -lXfixes -lXi -lXrandr -lXss -lusbhid -lpthread\ -ljxl -ljxl_cms -llcms2 -lhwy -lc++ -lc++abi -lbrotlidec\ -lbrotlicommon -lbrotlienc -lyuv -ltiff -lz -ljpeg -llzma -lzstd -lavif\ @@ -51,6 +51,16 @@ release-openbsd: -lngtcp2 -lssl -lcrypto -lnghttp2 -lXau -lXdmcp strip release/bin/${NAME}-${VERSION}-openbsd-${UNAME_M} +release-netbsd: + mkdir -p release/bin + ${CC} ${CFLAGS} -o release/bin/${NAME}-${VERSION}-netbsd-${UNAME_M} ${FILES}\ + ${LDFLAGS} -static ${LIBS} -lc -lm -lossaudio -lX11 -lxcb -lXau -lXdmcp -lgcc\ + -lXext -lXcursor -lXrender -lXi -lXfixes -lXrandr -lXss -ldrm -lpci -lgbm -lglapi\ + -lstdc++ -lexpat -lusbhid -lusb-1.0 -lpthread -lnghttp2 -lidn2 -lunistring\ + -lintl -lgssapi -lkrb5 -lhx509 -lssl -lcrypto -lcrypt -lasn1 -lcom_err -lroken\ + -lutil -lwind -lheimbase -lheimntlm -lz + strip release/bin/${NAME}-${VERSION}-netbsd-${UNAME_M} + install: mkdir -p ${DESTDIR}${PREFIX}/bin\ ${DESTDIR}${MANPREFIX}/man1\