diff --git a/configs/components/openssl-1.1.1.rb b/configs/components/openssl-1.1.1.rb index 924f887b1..eb4b349d5 100644 --- a/configs/components/openssl-1.1.1.rb +++ b/configs/components/openssl-1.1.1.rb @@ -45,6 +45,7 @@ pkg.environment 'CC', '/opt/pl-build-tools/bin/gcc' cflags = '$${CFLAGS} -static-libgcc' + ldflags = "#{settings[:ldflags]} -WL, -R#{settings[:libdir]}" target = 'aix-gcc' elsif platform.is_solaris? pkg.environment 'PATH', '/opt/pl-build-tools/bin:$(PATH):/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin'