mirror of
https://github.com/openwrt/packages.git
synced 2026-06-17 17:00:28 +04:00
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:
committed by
Christian Marangi
parent
d357f02346
commit
7990a8d3be
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user