Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makefile is missing soname #6

Open
jrmarino opened this issue Sep 4, 2023 · 0 comments
Open

makefile is missing soname #6

jrmarino opened this issue Sep 4, 2023 · 0 comments

Comments

@jrmarino
Copy link

jrmarino commented Sep 4, 2023

The shared library doesn't have the soname definition for elf builds.

I had to patch the makefile like this:

--- Makefile.orig       2023-07-12 18:02:40 UTC
+++ Makefile
@@ -11,7 +11,7 @@ ifneq (,$(findstring mingw,$(CC)))
        SYSTEM=MINGW
 else
        LIBSUF=.so
-       LDFLAGS=-Wl,--version-script,obuparse.v
+       LDFLAGS=-Wl,--version-script,obuparse.v -Wl,-soname,libobuparse.so.1
 endif

 all: libobuparse$(LIBSUF) libobuparse.a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant