liboqs: fix missing symbolic link installation

The current installation process fails to correctly install the
'liboqs.so' symbolic link due to an incorrect path syntax (extra dot).

This prevents other packages from linking against liboqs
(e.g., using -loqs) during development, which was discovered while
testing PQC key exchange implementations dependent on OQS.

Removes the trailing dot to ensure the symbolic link is preserved and
copied correctly to the destination directory.

Signed-off-by: Ho Kim <rlagh1073@naver.com>
This commit is contained in:
Ho Kim
2026-01-14 10:22:53 +09:00
committed by Christian Marangi
parent d357f02346
commit 7990a8d3be
+2 -2
View File
@@ -60,7 +60,7 @@ define Build/InstallDev
$(1)/usr/include/oqs/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/liboqs.so.* \
$(CP) $(PKG_INSTALL_DIR)/usr/lib/liboqs.so* \
$(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
@@ -74,7 +74,7 @@ endef
define Package/liboqs/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/liboqs.so.* $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/liboqs.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,liboqs))