Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gendl
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
47
Issues
47
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gendl
gendl
Commits
7664dc98
Commit
7664dc98
authored
Jan 15, 2018
by
Dave Cooper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
protect setup-cffi for allegro
parent
06140bbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
setup-cffi/source/setup.lisp
setup-cffi/source/setup.lisp
+8
-7
No files found.
setup-cffi/source/setup.lisp
View file @
7664dc98
(
in-package
:cffi
)
(
when
(
find-package
:cffi
)
(
in-package
:cffi
)
)
(
defun
%exe-path%
()
(
defun
%exe-path%
()
#+
sbcl
(
make-pathname
:name
nil
:type
nil
:defaults
sb-ext:*core-pathname*
)
#+
sbcl
(
make-pathname
:name
nil
:type
nil
:defaults
sb-ext:*core-pathname*
)
...
@@ -6,12 +6,13 @@
...
@@ -6,12 +6,13 @@
#+
allegro
(
translate-logical-pathname
"sys:"
)
#+
allegro
(
translate-logical-pathname
"sys:"
)
#+
lispworks
(
make-pathname
:name
nil
:type
nil
:defaults
(
first
system:*line-arguments-list*
)))
#+
lispworks
(
make-pathname
:name
nil
:type
nil
:defaults
(
first
system:*line-arguments-list*
)))
(
pushnew
(
merge-pathnames
(
format
nil
"dlls/~a/"
(
if
(
member
:32-bit-host
*features*
)
"32"
"64"
))
(
%exe-path%
))
cffi:*foreign-library-directories*
)
(
when
(
find-package
:cffi
)
(
pushnew
(
merge-pathnames
(
format
nil
"dlls/~a/"
(
if
(
member
:32-bit-host
*features*
)
"32"
"64"
))
(
%exe-path%
))
(
symbol-value
(
read-from-string
"cffi:*foreign-library-directories*"
)))
(
define-foreign-library
libeay32
(
define-foreign-library
libeay32
(
:windows
"libeay32.dll"
))
(
:windows
"libeay32.dll"
))
(
use-foreign-library
libeay32
)
(
use-foreign-library
libeay32
)
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment