]> gitweb.factorcode.org Git - factor.git/commitdiff
compiler.cfg.builder.alien: fix caller-linkage to return the DLL and not the library...
authorJoe Groff <arcata@gmail.com>
Tue, 13 Sep 2011 21:48:11 +0000 (14:48 -0700)
committerJoe Groff <arcata@gmail.com>
Tue, 13 Sep 2011 22:10:48 +0000 (15:10 -0700)
basis/compiler/cfg/builder/alien/alien.factor

index 8c1a213fb8302458950e75dda4d7ac4bf2d5c0bd..ff7a2cdae21d565d52b4a965406035b5cad508e5 100644 (file)
@@ -92,7 +92,7 @@ M: array dlsym-valid? '[ _ dlsym ] any? ;
 : caller-linkage ( params -- symbols dll )
     [ dup abi>> callee-cleanup? [ decorated-symbol ] [ function>> ] if ]
     [ library>> library ]
-    bi 2dup check-dlsym ;
+    bi 2dup check-dlsym library-dll ;
 
 : caller-return ( params -- )
     return>> [ ] [