Skip to content
Browse files

Link VM with OpenSSL on NetBSD otherwise it can't find some symbols

  • Loading branch information...
1 parent 01d74e8 commit 462a9a4a19d3f231ce48c522ceb5d3a191126ef0 Slava Pestov committed
Showing with 3 additions and 1 deletion.
  1. +1 −0 basis/openssl/libcrypto/libcrypto.factor
  2. +1 −0 basis/openssl/libssl/libssl.factor
  3. +1 −1 vm/Config.netbsd
View
1 basis/openssl/libcrypto/libcrypto.factor
@@ -13,6 +13,7 @@ IN: openssl.libcrypto
<<
{
{ [ os openbsd? ] [ ] } ! VM is linked with it
+ { [ os netbsd? ] [ ] }
{ [ os winnt? ] [ "libcrypto" "libeay32.dll" "cdecl" add-library ] }
{ [ os macosx? ] [ "libcrypto" "libcrypto.dylib" "cdecl" add-library ] }
{ [ os unix? ] [ "libcrypto" "libcrypto.so" "cdecl" add-library ] }
View
1 basis/openssl/libssl/libssl.factor
@@ -9,6 +9,7 @@ IN: openssl.libssl
<< {
{ [ os openbsd? ] [ ] } ! VM is linked with it
+ { [ os netbsd? ] [ ] }
{ [ os winnt? ] [ "libssl" "ssleay32.dll" "cdecl" add-library ] }
{ [ os macosx? ] [ "libssl" "libssl.dylib" "cdecl" add-library ] }
{ [ os unix? ] [ "libssl" "libssl.so" "cdecl" add-library ] }
View
2 vm/Config.netbsd
@@ -2,4 +2,4 @@ include vm/Config.unix
PLAF_DLL_OBJS += vm/os-genunix.o vm/os-netbsd.o
CFLAGS += -export-dynamic
LIBPATH = -L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib
-LIBS = -lm -lopenal -lalut $(X11_UI_LIBS)
+LIBS = -lm -lssl -lcrypto $(X11_UI_LIBS)

0 comments on commit 462a9a4

Please sign in to comment.
Something went wrong with that request. Please try again.