Skip to content

Commit

Permalink
Link VM with OpenSSL on NetBSD otherwise it can't find some symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
slavapestov committed May 12, 2009
1 parent 01d74e8 commit 462a9a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions basis/openssl/libcrypto/libcrypto.factor
Expand Up @@ -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 ] }
Expand Down
1 change: 1 addition & 0 deletions basis/openssl/libssl/libssl.factor
Expand Up @@ -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 ] }
Expand Down
2 changes: 1 addition & 1 deletion vm/Config.netbsd
Expand Up @@ -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.