Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
glew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
glew
Commits
f46e13ad
Commit
f46e13ad
authored
May 05, 2022
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
0 deletions
+45
-0
Makefile
Makefile
+5
-0
glew-2.2.0-no_static.patch
glew-2.2.0-no_static.patch
+40
-0
glew-2.2.0.tgz
glew-2.2.0.tgz
+0
-0
No files found.
Makefile
0 → 100644
View file @
f46e13ad
all
:
tar
xf glew-2.2.0.tgz
patch
-Np1
-d
glew-2.2.0 < glew-2.2.0-no_static.patch
$(MAKE)
-C
glew-2.2.0 install.all
rm
-rf
glew-2.2.0
glew-2.2.0-no_static.patch
0 → 100644
View file @
f46e13ad
diff -uNr glew-2.2.0/config/Makefile.linux glew-2.2.0-no_static/config/Makefile.linux
--- glew-2.2.0/config/Makefile.linux 2020-03-15 22:23:59.000000000 +1030
+++ glew-2.2.0-no_static/config/Makefile.linux 2022-04-27 15:34:59.671470735 +0930
@@ -13,8 +13,8 @@
ARCH64 = true
endif
ifeq (${ARCH64},true)
- LDFLAGS.EXTRA = -L/usr/X11R6/lib64 -L/usr/lib64
- LIBDIR = $(GLEW_DEST)/lib64
+ LDFLAGS.EXTRA = -L/usr/X11R6/lib -L/usr/lib
+ LIBDIR = $(GLEW_DEST)/lib
else
LDFLAGS.EXTRA = -L/usr/X11R6/lib -L/usr/lib
LIBDIR = $(GLEW_DEST)/lib
diff -uNr glew-2.2.0/Makefile glew-2.2.0-no_static/Makefile
--- glew-2.2.0/Makefile 2020-03-15 22:23:59.000000000 +1030
+++ glew-2.2.0-no_static/Makefile 2022-04-27 15:35:09.200496488 +0930
@@ -99,12 +99,11 @@
LIB.SOBJS := $(addprefix tmp/$(SYSTEM)/default/shared/,$(LIB.SRCS.NAMES))
LIB.SOBJS := $(LIB.SOBJS:.c=.o)
-glew.lib: glew.lib.shared glew.lib.static
+glew.lib: glew.lib.shared
glew.lib.shared: lib $(LIB.SHARED.DIR) $(LIB.SHARED.DIR)/$(LIB.SHARED) glew.pc
-glew.lib.static: lib lib/$(LIB.STATIC) glew.pc
-.PHONY: glew.lib glew.lib.shared glew.lib.static
+.PHONY: glew.lib glew.lib.shared
lib:
mkdir lib
@@ -225,7 +224,6 @@
ifneq ($(LN),)
$(LN) $(LIB.SHARED) "$(DESTDIR)$(LIBDIR)/$(LIB.DEVLNK)"
endif
- $(INSTALL) -m 0644 lib/$(LIB.STATIC) "$(DESTDIR)$(LIBDIR)/"
install.bin: glew.bin
$(INSTALL) -d -m 0755 "$(DESTDIR)$(BINDIR)"
glew-2.2.0.tgz
0 → 100644
View file @
f46e13ad
File added
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