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
N
nettle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Nettle
nettle
Commits
c00f4b17
Commit
c00f4b17
authored
Sep 15, 2019
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dlopen-test: Use libnettle.dylib on MacOS.
parent
eb50135b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
ChangeLog
ChangeLog
+4
-0
testsuite/dlopen-test.c
testsuite/dlopen-test.c
+7
-1
No files found.
ChangeLog
View file @
c00f4b17
2019-09-15 Niels Möller <nisse@lysator.liu.se>
* testsuite/dlopen-test.c (main): Use libnettle.dylib on MacOS.
2019-07-08 Niels Möller <nisse@lysator.liu.se>
* nettle-types.h (union nettle_block16): Mark w member as deprecated.
...
...
testsuite/dlopen-test.c
View file @
c00f4b17
...
...
@@ -5,11 +5,17 @@
#include <dlfcn.h>
#endif
#ifdef __APPLE__
#define SO_EXT "dylib"
#else
#define SO_EXT "so"
#endif
int
main
(
int
argc
UNUSED
,
char
**
argv
UNUSED
)
{
#if HAVE_LIBDL
void
*
handle
=
dlopen
(
"../libnettle.
so"
,
RTLD_NOW
);
void
*
handle
=
dlopen
(
"../libnettle.
"
SO_EXT
,
RTLD_NOW
);
int
(
*
get_version
)(
void
);
if
(
!
handle
)
{
...
...
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